public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if (mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if (!outputFile.getParentFile().exists()) {
if (!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
public HttpHeaders getHeadersForSuccessPostMethod(HttpServletRequest request, Long newResourceId) {
HttpHeaders httpHeaders = new HttpHeaders();
try {
httpHeaders.setLocation(new URI(request.getRequestURI() + "/" + newResourceId));
} catch (URISyntaxException e) {
e.printStackTrace();
}
httpHeaders.add("Content-Type", "application/json; charset=UTF-8");
return httpHeaders;
}
public HttpHeaders getHeadersForSuccessPostMethod(HttpServletRequest request, Long newResourceId) {
HttpHeaders httpHeaders = new HttpHeaders();
try {
httpHeaders.setLocation(new URI(request.getRequestURI() + "/" + newResourceId));
} catch (URISyntaxException e) {
e.printStackTrace();
}
httpHeaders.add("Content-Type", "application/json; charset=UTF-8");
return httpHeaders;
}
public HttpHeaders getHeadersForSuccessPostMethod(HttpServletRequest request, Long newResourceId) {
HttpHeaders httpHeaders = new HttpHeaders();
try {
httpHeaders.setLocation(new URI(request.getRequestURI() + "/" + newResourceId));
} catch (URISyntaxException e) {
e.printStackTrace();
}
httpHeaders.add("Content-Type", "application/json; charset=UTF-8");
return httpHeaders;
}
public HttpHeaders getHeadersForSuccessPostMethod(HttpServletRequest request, Long newResourceId) {
HttpHeaders httpHeaders = new HttpHeaders();
try {
httpHeaders.setLocation(new URI(request.getRequestURI() + "/" + newResourceId));
} catch (URISyntaxException e) {
e.printStackTrace();
}
httpHeaders.add("Content-Type", "application/json; charset=UTF-8");
return httpHeaders;
}
public HttpHeaders getHeadersForSuccessPostMethod(HttpServletRequest request, Long newResourceId) {
HttpHeaders httpHeaders = new HttpHeaders();
try {
httpHeaders.setLocation(new URI(request.getRequestURI() + "/" + newResourceId));
} catch (URISyntaxException e) {
e.printStackTrace();
}
httpHeaders.add("Content-Type", "application/json; charset=UTF-8");
return httpHeaders;
}
public HttpHeaders getHeadersForSuccessPostMethod(HttpServletRequest request, Long newResourceId) {
HttpHeaders httpHeaders = new HttpHeaders();
try {
httpHeaders.setLocation(new URI(request.getRequestURI() + "/" + newResourceId));
} catch (URISyntaxException e) {
e.printStackTrace();
}
httpHeaders.add("Content-Type", "application/json; charset=UTF-8");
return httpHeaders;
}
public HttpHeaders getHeadersForSuccessPostMethod(HttpServletRequest request, Long newResourceId) {
HttpHeaders httpHeaders = new HttpHeaders();
try {
httpHeaders.setLocation(new URI(request.getRequestURI() + "/" + newResourceId));
} catch (URISyntaxException e) {
e.printStackTrace();
}
httpHeaders.add("Content-Type", "application/json; charset=UTF-8");
return httpHeaders;
}
public HttpHeaders getHeadersForSuccessPostMethod(HttpServletRequest request, Long newResourceId) {
HttpHeaders httpHeaders = new HttpHeaders();
try {
httpHeaders.setLocation(new URI(request.getRequestURI() + "/" + newResourceId));
} catch (URISyntaxException e) {
e.printStackTrace();
}
httpHeaders.add("Content-Type", "application/json; charset=UTF-8");
return httpHeaders;
}
public HttpHeaders getHeadersForSuccessPostMethod(HttpServletRequest request, Long newResourceId) {
HttpHeaders httpHeaders = new HttpHeaders();
try {
httpHeaders.setLocation(new URI(request.getRequestURI() + "/" + newResourceId));
} catch (URISyntaxException e) {
e.printStackTrace();
}
httpHeaders.add("Content-Type", "application/json; charset=UTF-8");
return httpHeaders;
}
public HttpHeaders getHeadersForSuccessPostMethod(HttpServletRequest request, Long newResourceId) {
HttpHeaders httpHeaders = new HttpHeaders();
try {
httpHeaders.setLocation(new URI(request.getRequestURI() + "/" + newResourceId));
} catch (URISyntaxException e) {
e.printStackTrace();
}
httpHeaders.add("Content-Type", "application/json; charset=UTF-8");
return httpHeaders;
}
public HttpHeaders getHeadersForSuccessPostMethod(HttpServletRequest request, Long newResourceId) {
HttpHeaders httpHeaders = new HttpHeaders();
try {
httpHeaders.setLocation(new URI(request.getRequestURI() + "/" + newResourceId));
} catch (URISyntaxException e) {
e.printStackTrace();
}
httpHeaders.add("Content-Type", "application/json; charset=UTF-8");
return httpHeaders;
}
public HttpHeaders getHeadersForSuccessPostMethod(HttpServletRequest request, Long newResourceId) {
HttpHeaders httpHeaders = new HttpHeaders();
try {
httpHeaders.setLocation(new URI(request.getRequestURI() + "/" + newResourceId));
} catch (URISyntaxException e) {
e.printStackTrace();
}
httpHeaders.add("Content-Type", "application/json; charset=UTF-8");
return httpHeaders;
}
private ResponseEntity<Void> deleteProduct(@PathVariable("id") Long id){
Product product = productService.getProductById(id);
if(product != null) {
try {
productService.deleteProduct(id);
return new ResponseEntity<Void>(
headerGenerator.getHeadersForSuccessGetMethod(),
HttpStatus.OK);
}catch (Exception e) {
e.printStackTrace();
return new ResponseEntity<Void>(
headerGenerator.getHeadersForError(),
HttpStatus.INTERNAL_SERVER_ERROR);
}
}
return new ResponseEntity<Void>(headerGenerator.getHeadersForError(), HttpStatus.NOT_FOUND);
}
private ResponseEntity<Void> deleteRecommendations(@PathVariable("id") Long id){
Recommendation recommendation = recommendationService.getRecommendationById(id);
if(recommendation != null) {
try {
recommendationService.deleteRecommendation(id);
return new ResponseEntity<Void>(
headerGenerator.getHeadersForSuccessGetMethod(),
HttpStatus.OK);
}catch (Exception e) {
e.printStackTrace();
return new ResponseEntity<Void>(
headerGenerator.getHeadersForError(),
HttpStatus.INTERNAL_SERVER_ERROR);
}
}
return new ResponseEntity<Void>(
headerGenerator.getHeadersForError(),
HttpStatus.NOT_FOUND);
}
public void add_user_controller_should_return201_when_user_is_saved() throws Exception{
//given
User user = new User();
user.setUserName(USER_NAME);
ObjectMapper mapper = new ObjectMapper();
mapper.configure(SerializationFeature.WRAP_ROOT_VALUE, false);
ObjectWriter objectWriter = mapper.writer().withDefaultPrettyPrinter();
String requestJson = objectWriter.writeValueAsString(user);
//when
when(userService.saveUser(new User())).thenReturn(user);
//then
mockMvc.perform(post("/users").content(requestJson).contentType(MediaType.APPLICATION_JSON_UTF8))
.andExpect(status().isCreated())
.andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8))
.andExpect(jsonPath("$.userName").value(USER_NAME));
verify(userService, times(1)).saveUser(any(User.class));
verifyNoMoreInteractions(userService);
}
public void add_product_controller_should_return201_when_product_isSaved() throws Exception {
//given
Product product = new Product();
product.setProductName(PRODUCT_NAME);
product.setCategory(PRODUCT_CATEGORY);
ObjectMapper mapper = new ObjectMapper();
mapper.configure(SerializationFeature.WRAP_ROOT_VALUE, false);
ObjectWriter objectWriter = mapper.writer().withDefaultPrettyPrinter();
String requestJson = objectWriter.writeValueAsString(product);
//when
when(productService.addProduct(new Product())).thenReturn(product);
//then
mockMvc.perform(post("/admin/products").content(requestJson).contentType(MediaType.APPLICATION_JSON_UTF8))
.andExpect(status().isCreated())
.andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8))
.andExpect(jsonPath("$.productName").value(PRODUCT_NAME))
.andExpect(jsonPath("$.category").value(PRODUCT_CATEGORY));
verify(productService, times(1)).addProduct(any(Product.class));
verifyNoMoreInteractions(productService);
}
public CommonResult<CommonPage<EsProduct>> search(@RequestParam(required = false) String keyword,
@RequestParam(required = false) Long brandId,
@RequestParam(required = false) Long productCategoryId,
@RequestParam(required = false, defaultValue = "0") Integer pageNum,
@RequestParam(required = false, defaultValue = "5") Integer pageSize,
@RequestParam(required = false, defaultValue = "0") Integer sort) {
Page<EsProduct> esProductPage = esProductService.search(keyword, brandId, productCategoryId, pageNum, pageSize, sort);
return CommonResult.success(CommonPage.restPage(esProductPage));
}
public CommonResult<CommonPage<PmsProduct>> search(@RequestParam(required = false) String keyword,
@RequestParam(required = false) Long brandId,
@RequestParam(required = false) Long productCategoryId,
@RequestParam(required = false, defaultValue = "0") Integer pageNum,
@RequestParam(required = false, defaultValue = "5") Integer pageSize,
@RequestParam(required = false, defaultValue = "0") Integer sort) {
List<PmsProduct> productList = portalProductService.search(keyword, brandId, productCategoryId, pageNum, pageSize, sort);
return CommonResult.success(CommonPage.restPage(productList));
}
public CommonResult delete(@RequestParam("ids") List<String> ids) {
int count = memberReadHistoryService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult deleteBatch(@RequestParam("ids") List<Long> ids) {
int count = brandService.deleteBrand(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<String> ids) {
int count = memberReadHistoryService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<Long> ids) {
int count = productAttributeService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody UmsMenu umsMenu) {
int count = menuService.create(umsMenu);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = menuService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody UmsResourceCategory umsResourceCategory) {
int count = resourceCategoryService.create(umsResourceCategory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = resourceCategoryService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody UmsResource umsResource) {
int count = resourceService.create(umsResource);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = resourceService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestParam String name) {
int count = productAttributeCategoryService.create(name);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = productAttributeCategoryService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody PmsProductAttributeParam productAttributeParam) {
int count = productAttributeService.create(productAttributeParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = productCategoryService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody PmsProductParam productParam) {
int count = productService.create(productParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody UmsMenu umsMenu) {
int count = menuService.create(umsMenu);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody UmsMenu umsMenu) {
int count = menuService.create(umsMenu);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = menuService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody UmsResourceCategory umsResourceCategory) {
int count = resourceCategoryService.create(umsResourceCategory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = resourceCategoryService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody UmsResource umsResource) {
int count = resourceService.create(umsResource);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = resourceService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestParam String name) {
int count = productAttributeCategoryService.create(name);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = productAttributeCategoryService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody PmsProductAttributeParam productAttributeParam) {
int count = productAttributeService.create(productAttributeParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = productCategoryService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody PmsProductParam productParam) {
int count = productService.create(productParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = menuService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody UmsResourceCategory umsResourceCategory) {
int count = resourceCategoryService.create(umsResourceCategory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = resourceCategoryService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody UmsResource umsResource) {
int count = resourceService.create(umsResource);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = resourceService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult create(@RequestParam String name) {
int count = productAttributeCategoryService.create(name);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = productAttributeCategoryService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody PmsProductAttributeParam productAttributeParam) {
int count = productAttributeService.create(productAttributeParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = productCategoryService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody PmsProductParam productParam) {
int count = productService.create(productParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult updateBrand(@PathVariable("id") Long id, @Validated @RequestBody PmsBrandDto pmsBrandDto) {
CommonResult commonResult;
int count = demoService.updateBrand(id, pmsBrandDto);
if (count == 1) {
commonResult = CommonResult.success(pmsBrandDto);
LOGGER.debug("updateBrand success:{}", pmsBrandDto);
} else {
commonResult = CommonResult.failed("操作失败");
LOGGER.debug("updateBrand failed:{}", pmsBrandDto);
}
return commonResult;
}
public CommonResult update(@PathVariable("id") Long id,
@Validated @RequestBody PmsBrandParam pmsBrandParam) {
CommonResult commonResult;
int count = brandService.updateBrand(id, pmsBrandParam);
if (count == 1) {
commonResult = CommonResult.success(count);
} else {
commonResult = CommonResult.failed();
}
return commonResult;
}
public UmsMember getCurrentMember() {
String userStr = request.getHeader(AuthConstant.USER_TOKEN_HEADER);
if(StrUtil.isEmpty(userStr)){
Asserts.fail(ResultCode.UNAUTHORIZED);
}
UserDto userDto = JSONUtil.toBean(userStr, UserDto.class);
UmsMember member = memberCacheService.getMember(userDto.getId());
if(member!=null){
return member;
}else{
member = getById(userDto.getId());
memberCacheService.setMember(member);
return member;
}
}
public UmsAdmin getCurrentAdmin() {
String userStr = request.getHeader(AuthConstant.USER_TOKEN_HEADER);
if(StrUtil.isEmpty(userStr)){
Asserts.fail(ResultCode.UNAUTHORIZED);
}
UserDto userDto = JSONUtil.toBean(userStr, UserDto.class);
UmsAdmin admin = adminCacheService.getAdmin(userDto.getId());
if(admin!=null){
return admin;
}else{
admin = adminMapper.selectByPrimaryKey(userDto.getId());
adminCacheService.setAdmin(admin);
return admin;
}
}
public CommonResult createBrand(@Validated @RequestBody PmsBrandDto pmsBrand) {
CommonResult commonResult;
int count = demoService.createBrand(pmsBrand);
if (count == 1) {
commonResult = CommonResult.success(pmsBrand);
LOGGER.debug("createBrand success:{}", pmsBrand);
} else {
commonResult = CommonResult.failed("操作失败");
LOGGER.debug("createBrand failed:{}", pmsBrand);
}
return commonResult;
}
public CommonResult create(@Validated @RequestBody PmsBrandParam pmsBrand) {
CommonResult commonResult;
int count = brandService.createBrand(pmsBrand);
if (count == 1) {
commonResult = CommonResult.success(count);
} else {
commonResult = CommonResult.failed();
}
return commonResult;
}
public boolean isValid(Integer value, ConstraintValidatorContext constraintValidatorContext) {
boolean isValid = false;
if(value==null){
//当状态为空时使用默认值
return true;
}
for(int i=0;i<values.length;i++){
if(values[i].equals(String.valueOf(value))){
isValid = true;
break;
}
}
return isValid;
}
public boolean isValid(Integer value, ConstraintValidatorContext constraintValidatorContext) {
boolean isValid = false;
for(int i=0;i<values.length;i++){
if(values[i].equals(String.valueOf(value))){
isValid = true;
break;
}
}
return isValid;
}
public CommonResult updateHidden(@PathVariable Long id, @RequestParam("hidden") Integer hidden) {
int count = menuService.updateHidden(id, hidden);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult updateHidden(@PathVariable Long id, @RequestParam("hidden") Integer hidden) {
int count = menuService.updateHidden(id, hidden);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult updateHidden(@PathVariable Long id, @RequestParam("hidden") Integer hidden) {
int count = menuService.updateHidden(id, hidden);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id,
@RequestBody UmsResourceCategory umsResourceCategory) {
int count = resourceCategoryService.update(id, umsResourceCategory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id,
@RequestBody UmsMenu umsMenu) {
int count = menuService.update(id, umsMenu);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id,
@RequestBody UmsResource umsResource) {
int count = resourceService.update(id, umsResource);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id, @RequestParam String name) {
int count = productAttributeCategoryService.update(id, name);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id, @RequestBody PmsProductAttributeParam productAttributeParam) {
int count = productAttributeService.update(id, productAttributeParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@Validated @RequestBody PmsProductCategoryParam productCategoryParam) {
int count = productCategoryService.create(productCategoryParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id, @RequestBody PmsProductParam productParam) {
int count = productService.update(id, productParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult deleteBatch(@RequestParam("ids") List<Long> ids) {
int count = brandService.deleteBrand(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) {
int count = memberReadHistoryService.create(memberReadHistory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<Long> ids) {
int count = productAttributeService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id,
@RequestBody UmsResourceCategory umsResourceCategory) {
int count = resourceCategoryService.update(id, umsResourceCategory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id,
@RequestBody UmsResourceCategory umsResourceCategory) {
int count = resourceCategoryService.update(id, umsResourceCategory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id,
@RequestBody UmsMenu umsMenu) {
int count = menuService.update(id, umsMenu);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id,
@RequestBody UmsMenu umsMenu) {
int count = menuService.update(id, umsMenu);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id,
@RequestBody UmsResource umsResource) {
int count = resourceService.update(id, umsResource);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id,
@RequestBody UmsResource umsResource) {
int count = resourceService.update(id, umsResource);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id, @RequestParam String name) {
int count = productAttributeCategoryService.update(id, name);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id, @RequestParam String name) {
int count = productAttributeCategoryService.update(id, name);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id, @RequestBody PmsProductAttributeParam productAttributeParam) {
int count = productAttributeService.update(id, productAttributeParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id, @RequestBody PmsProductAttributeParam productAttributeParam) {
int count = productAttributeService.update(id, productAttributeParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@Validated @RequestBody PmsProductCategoryParam productCategoryParam) {
int count = productCategoryService.create(productCategoryParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@Validated @RequestBody PmsProductCategoryParam productCategoryParam) {
int count = productCategoryService.create(productCategoryParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id, @RequestBody PmsProductParam productParam) {
int count = productService.update(id, productParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult update(@PathVariable Long id, @RequestBody PmsProductParam productParam) {
int count = productService.update(id, productParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult deleteBatch(@RequestParam("ids") List<Long> ids) {
int count = brandService.deleteBrand(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberProductCollection productCollection) {
int count = memberCollectionService.add(productCollection);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<Long> ids) {
int count = productAttributeService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
public CommonResult deleteBatch(@RequestParam("ids") List<Long> ids) {
int count = brandService.deleteBrand(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<Long> ids) {
int count = productAttributeService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) {
int count = memberAttentionService.add(memberBrandAttention);
if(count>0){
return CommonResult.success(count);
}else{
return CommonResult.failed();
}
}
private void insertRelationList(Long productCategoryId, List<Long> productAttributeIdList) {
List<PmsProductCategoryAttributeRelation> relationList = new ArrayList<>();
for (Long productAttrId : productAttributeIdList) {
PmsProductCategoryAttributeRelation relation = new PmsProductCategoryAttributeRelation();
relation.setProductAttributeId(productAttrId);
relation.setProductCategoryId(productCategoryId);
relationList.add(relation);
}
productCategoryAttributeRelationDao.insertList(relationList);
}
public void delete(List<Long> ids) {
if (!CollectionUtils.isEmpty(ids)) {
List<EsProduct> esProductList = new ArrayList<>();
for (Long id : ids) {
EsProduct esProduct = new EsProduct();
esProduct.setId(id);
esProductList.add(esProduct);
}
productRepository.deleteAll(esProductList);
}
}
public int delete(List<String> ids) {
List<MemberReadHistory> deleteList = new ArrayList<>();
for(String id:ids){
MemberReadHistory memberReadHistory = new MemberReadHistory();
memberReadHistory.setId(id);
deleteList.add(memberReadHistory);
}
memberReadHistoryRepository.deleteAll(deleteList);
return ids.size();
}
private void insertRelationList(Long productCategoryId, List<Long> productAttributeIdList) {
List<PmsProductCategoryAttributeRelation> relationList = new ArrayList<>();
for (Long productAttrId : productAttributeIdList) {
PmsProductCategoryAttributeRelation relation = new PmsProductCategoryAttributeRelation();
relation.setProductAttributeId(productAttrId);
relation.setProductCategoryId(productCategoryId);
relationList.add(relation);
}
productCategoryAttributeRelationDao.insertList(relationList);
}
public int delete(List<String> ids) {
List<MemberReadHistory> deleteList = new ArrayList<>();
for(String id:ids){
MemberReadHistory memberReadHistory = new MemberReadHistory();
memberReadHistory.setId(id);
deleteList.add(memberReadHistory);
}
memberReadHistoryRepository.deleteAll(deleteList);
return ids.size();
}
public void delete(List<Long> ids) {
if (!CollectionUtils.isEmpty(ids)) {
List<EsProduct> esProductList = new ArrayList<>();
for (Long id : ids) {
EsProduct esProduct = new EsProduct();
esProduct.setId(id);
esProductList.add(esProduct);
}
productRepository.deleteAll(esProductList);
}
}
public CommonResult create(@RequestBody UmsMenu umsMenu) {
int count = menuService.create(umsMenu);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<String> ids) {
int count = memberReadHistoryService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = menuService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<String> ids) {
int count = memberReadHistoryService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody UmsResourceCategory umsResourceCategory) {
int count = resourceCategoryService.create(umsResourceCategory);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<String> ids) {
int count = memberReadHistoryService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = resourceCategoryService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<String> ids) {
int count = memberReadHistoryService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<String> ids) {
int count = memberReadHistoryService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody UmsResource umsResource) {
int count = resourceService.create(umsResource);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<String> ids) {
int count = memberReadHistoryService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = resourceService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<String> ids) {
int count = memberReadHistoryService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestParam String name) {
int count = productAttributeCategoryService.create(name);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<String> ids) {
int count = memberReadHistoryService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = productAttributeCategoryService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<String> ids) {
int count = memberReadHistoryService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody PmsProductAttributeParam productAttributeParam) {
int count = productAttributeService.create(productAttributeParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<String> ids) {
int count = memberReadHistoryService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@PathVariable Long id) {
int count = productCategoryService.delete(id);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult create(@RequestBody PmsProductParam productParam) {
int count = productService.create(productParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CommonResult delete(@RequestParam("ids") List<String> ids) {
int count = memberReadHistoryService.delete(ids);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public CacheErrorHandler errorHandler() {
return new CacheErrorHandler() {
@Override
public void handleCacheGetError(RuntimeException e, Cache cache, Object key) {
log.warn("获取缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) {
log.warn("handleCachePutError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) {
log.warn("handleCacheEvictError缓存时异常---key: " + key + " 异常信息:" + e);
}
@Override
public void handleCacheClearError(RuntimeException e, Cache cache) {
log.warn("清除缓存时异常--- 异常信息:" + e);
}
};
}
public User(HR hr) {
this.username = hr.getUsername();
this.nickname = hr.getNickname();
this.password = hr.getPassword();
this.phone = hr.getPhone();
this.email = hr.getEmail();
this.firstId = hr.getCompanyId();
this.code = hr.getCode();
this.role = 1;
}
public User(HR hr) {
this.username = hr.getUsername();
this.nickname = hr.getNickname();
this.password = hr.getPassword();
this.phone = hr.getPhone();
this.email = hr.getEmail();
this.firstId = hr.getCompanyId();
this.code = hr.getCode();
this.role = 1;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public String deserialize(byte[] bytes) {
String saveKey = new String(bytes, charset);
int indexOf = saveKey.indexOf(prefix);
if (indexOf > 0) {
log.warn("key缺少前缀");
} else {
saveKey = saveKey.substring(indexOf + prefix.length() + 1);
}
return saveKey;
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "user 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "message 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "user 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "resume 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "user 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "outside 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "user 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "recruit 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "message 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "resume 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "message 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "outside 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "message 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "recruit 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "outside 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "resume 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "resume 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "recruit 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "outside 运行时异常!" + sw.toString());
}
}
public ResponseMessage handle(Exception e) {
if (e instanceof MyException) {
MyException myException = (MyException) e;
return ResponseMessage.error(myException.getCode(), myException.getMessage());
} else {
log.error("[系统异常]", e);
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
return ResponseMessage.error(500, "recruit 运行时异常!" + sw.toString());
}
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory redisConnectionFactory) {
StringRedisTemplate template = new StringRedisTemplate();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new StringRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new StringRedisSerializer());
template.afterPropertiesSet();
return template;
}
public <T> RedisTemplate<String, T> redisTemplate(LettuceConnectionFactory redisConnectionFactory) {
RedisTemplate<String, T> template = new RedisTemplate<>();
template.setKeySerializer(new PrefixRedisSerializer());
template.setValueSerializer(new GenericFastJsonRedisSerializer());
template.setConnectionFactory(redisConnectionFactory);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(new GenericFastJsonRedisSerializer());
template.afterPropertiesSet();
return template;
}
public ResponseMessage code(
@RequestParam String phone) {
String code = smsService.sendCode(phone);
if (StringUtils.isNotEmpty(code)) {
return ResponseMessage.successMessage("发送成功");
} else {
return ResponseMessage.failedMessage("发送失败");
}
}
public ResponseMessage uploadAvatar(
@RequestBody UploadAvatar uploadAvatar) {
boolean flag = userInfoService.uploadAvatar(uploadAvatar);
if (flag) {
return ResponseMessage.successMessage("上传头像成功");
} else {
return ResponseMessage.failedMessage("上传头像失败");
}
}
private void verifyToken(RequestContext ctx) {
try {
String token = CookieUtils.getCookie("token");
Claims claims = JWTUtils.parseJWT(token, "nimadetou".getBytes());
String subject = claims.getSubject();
UserInfoDTO userinfo = JSONUtils.parseObject(subject, UserInfoDTO.class);
log.info(userinfo.getUserId());
ctx.setSendZuulResponse(true);
} catch (Exception e) {
ctx.setSendZuulResponse(false);
}
}
private void verifyToken(RequestContext ctx) {
try {
String token = CookieUtils.getCookie("token");
Claims claims = JWTUtils.parseJWT(token, "nimadetou".getBytes());
String subject = claims.getSubject();
UserInfoDTO userinfo = JSONUtils.parseObject(subject, UserInfoDTO.class);
log.info(userinfo.getUserId());
ctx.setSendZuulResponse(true);
} catch (Exception e) {
ctx.setSendZuulResponse(false);
}
}
public CorsFilter corsFilter() {
final UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
final CorsConfiguration config = new CorsConfiguration();
config.setAllowCredentials(true); // 允许cookies跨域
//config.addAllowedOrigin("http://localhost:8082");// #允许向该服务器提交请求的URI,*表示全部允许,在SpringMVC中,如果设成*,会自动转成当前请求头中的Origin
config.addAllowedOrigin("*");// #允许向该服务器提交请求的URI,*表示全部允许,在SpringMVC中,如果设成*,会自动转成当前请求头中的Origin
config.addAllowedHeader("*");// #允许访问的头信息,*表示全部
config.addAllowedMethod("*");// 允许提交请求的方法,*表示全部允许
source.registerCorsConfiguration("/**", config);
return new CorsFilter(source);
}
public CorsFilter corsFilter() {
final UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
final CorsConfiguration config = new CorsConfiguration();
config.setAllowCredentials(true); // 允许cookies跨域
//config.addAllowedOrigin("http://regist.727pan.cn");// #允许向该服务器提交请求的URI,*表示全部允许,在SpringMVC中,如果设成*,会自动转成当前请求头中的Origin
//config.addAllowedOrigin("http://727pan.cn");// #允许向该服务器提交请求的URI,*表示全部允许,在SpringMVC中,如果设成*,会自动转成当前请求头中的Origin
config.addAllowedOrigin("*");// #允许向该服务器提交请求的URI,*表示全部允许,在SpringMVC中,如果设成*,会自动转成当前请求头中的Origin
config.addAllowedHeader("*");// #允许访问的头信息,*表示全部
config.addAllowedMethod("*");// 允许提交请求的方法,*表示全部允许
source.registerCorsConfiguration("/**", config);
return new CorsFilter(source);
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> login(@RequestParam("username") String username, @RequestParam("password") String password, @RequestParam("RSAKey") String RSAKey) throws Exception {
logger.info("登录请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("登录数据处理开始,username:{}", username);
RestAPIResult<String> result = passportService.loginHandle(username, password, RSAKey);
logger.info("登录数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("登录调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> login(@RequestParam("username") String username, @RequestParam("password") String password, @RequestParam("RSAKey") String RSAKey) throws Exception {
logger.info("登录请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("登录数据处理开始,username:{}", username);
RestAPIResult<String> result = passportService.loginHandle(username, password, RSAKey);
logger.info("登录数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("登录调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regCheckPwd(@RequestParam("password") String password, @RequestParam("RSAKey") String RSAKey) {
logger.info("检查密码格式请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("检查密码格式数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.regCheckPwdHandle(password, RSAKey);
logger.info("检查密码格式数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("检查密码格式调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadPic(@RequestParam("uid") String uid, @RequestParam("file") MultipartFile file) throws IOException {
logger.info("上传用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.uploadPicHandle(uid, file);
logger.info("上传用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getUid(@RequestParam("shareId") String shareId, @RequestParam("lockPassword") String lockPassword) {
logger.info("获取分享虚拟地址信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享虚拟地址信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getVinfoHandle(shareId, lockPassword);
logger.info("获取分享虚拟地址信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享虚拟地址信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regCheckPwd(@RequestParam("password") String password, @RequestParam("RSAKey") String RSAKey) {
logger.info("检查密码格式请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("检查密码格式数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.regCheckPwdHandle(password, RSAKey);
logger.info("检查密码格式数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("检查密码格式调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadPic(@RequestParam("uid") String uid, @RequestParam("file") MultipartFile file) throws IOException {
logger.info("上传用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.uploadPicHandle(uid, file);
logger.info("上传用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> verifykLock(@RequestParam("lockPassword") String lockPassword, @RequestParam("shareId") String shareId) {
logger.info("验证分享密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("验证分享密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.verifykLockHandle(lockPassword, shareId);
logger.info("验证分享密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("验证分享密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadPic(@RequestParam("uid") String uid, @RequestParam("file") MultipartFile file) throws IOException {
logger.info("上传用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.uploadPicHandle(uid, file);
logger.info("上传用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regCheckPwd(@RequestParam("password") String password, @RequestParam("RSAKey") String RSAKey) {
logger.info("检查密码格式请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("检查密码格式数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.regCheckPwdHandle(password, RSAKey);
logger.info("检查密码格式数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("检查密码格式调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regCheckPwd(@RequestParam("password") String password, @RequestParam("RSAKey") String RSAKey) {
logger.info("检查密码格式请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("检查密码格式数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.regCheckPwdHandle(password, RSAKey);
logger.info("检查密码格式数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("检查密码格式调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regCheckPwd(@RequestParam("password") String password, @RequestParam("RSAKey") String RSAKey) {
logger.info("检查密码格式请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("检查密码格式数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.regCheckPwdHandle(password, RSAKey);
logger.info("检查密码格式数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("检查密码格式调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regCheckPwd(@RequestParam("password") String password, @RequestParam("RSAKey") String RSAKey) {
logger.info("检查密码格式请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("检查密码格式数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.regCheckPwdHandle(password, RSAKey);
logger.info("检查密码格式数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("检查密码格式调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> regCheckPwd(@RequestParam("password") String password, @RequestParam("RSAKey") String RSAKey) {
logger.info("检查密码格式请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("检查密码格式数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.regCheckPwdHandle(password, RSAKey);
logger.info("检查密码格式数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("检查密码格式调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regCheckPwd(@RequestParam("password") String password, @RequestParam("RSAKey") String RSAKey) {
logger.info("检查密码格式请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("检查密码格式数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.regCheckPwdHandle(password, RSAKey);
logger.info("检查密码格式数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("检查密码格式调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regCheckPwd(@RequestParam("password") String password, @RequestParam("RSAKey") String RSAKey) {
logger.info("检查密码格式请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("检查密码格式数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.regCheckPwdHandle(password, RSAKey);
logger.info("检查密码格式数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("检查密码格式调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regCheckPwd(@RequestParam("password") String password, @RequestParam("RSAKey") String RSAKey) {
logger.info("检查密码格式请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("检查密码格式数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.regCheckPwdHandle(password, RSAKey);
logger.info("检查密码格式数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("检查密码格式调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regCheckPwd(@RequestParam("password") String password, @RequestParam("RSAKey") String RSAKey) {
logger.info("检查密码格式请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("检查密码格式数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.regCheckPwdHandle(password, RSAKey);
logger.info("检查密码格式数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("检查密码格式调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regCheckPwd(@RequestParam("password") String password, @RequestParam("RSAKey") String RSAKey) {
logger.info("检查密码格式请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("检查密码格式数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.regCheckPwdHandle(password, RSAKey);
logger.info("检查密码格式数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("检查密码格式调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadPic(@RequestParam("uid") String uid, @RequestParam("file") MultipartFile file) throws IOException {
logger.info("上传用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.uploadPicHandle(uid, file);
logger.info("上传用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadPic(@RequestParam("uid") String uid, @RequestParam("file") MultipartFile file) throws IOException {
logger.info("上传用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.uploadPicHandle(uid, file);
logger.info("上传用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadPic(@RequestParam("uid") String uid, @RequestParam("file") MultipartFile file) throws IOException {
logger.info("上传用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.uploadPicHandle(uid, file);
logger.info("上传用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadPic(@RequestParam("uid") String uid, @RequestParam("file") MultipartFile file) throws IOException {
logger.info("上传用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.uploadPicHandle(uid, file);
logger.info("上传用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadPic(@RequestParam("uid") String uid, @RequestParam("file") MultipartFile file) throws IOException {
logger.info("上传用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.uploadPicHandle(uid, file);
logger.info("上传用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadPic(@RequestParam("uid") String uid, @RequestParam("file") MultipartFile file) throws IOException {
logger.info("上传用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.uploadPicHandle(uid, file);
logger.info("上传用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhone(@RequestParam("phoneNum") String phoneNum) {
logger.info("手机号查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号查重数据处理开始,phoneNum:{}", phoneNum);
RestAPIResult<String> result = registerService.checkPhoneHandle(phoneNum);
logger.info("手机号查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> regPhoneSend(@RequestBody RegPhoneSendRequest request) {
logger.info("注册发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("注册发送短信数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.regPhoneSendHandle(request);
logger.info("注册发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("注册发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> changePwd(@RequestBody ChangePwdRequest request) {
logger.info("修改密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("修改密码数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.changePwdHandle(request);
logger.info("修改密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("修改密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> loadImg(@RequestParam("uid") String uid) {
logger.info("加载用户头像请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("加载用户头像数据处理开始,uid:{}", uid);
RestAPIResult<String> result = registerService.loadImgHandle(uid);
logger.info("加载用户头像数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("加载用户头像调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkUserName(@RequestParam("userName") String userName) {
logger.info("用户名查重请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户名查重数据处理开始,userName:{}", userName);
RestAPIResult<String> result = registerService.checkUserNameHandle(userName);
logger.info("用户名查重数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户名查重调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> forgetPhoneSend(@RequestBody ForgetPhoneSendRequest request) {
logger.info("忘记密码短信服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码短信服务数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.forgetPhoneSendHandle(request);
logger.info("忘记密码短信服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码短信服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<UserInfoDTO> getUserInfo(@RequestParam("userId") String userId) {
logger.info("根据用户ID获取用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据用户ID获取用户信息数据处理开始,userId:{}", userId);
RestAPIResult<UserInfoDTO> result = passportService.getUserInfoHandle(userId);
logger.info("根据用户ID获取用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据用户ID获取用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> logout(@RequestParam("token") String token) {
logger.info("退出请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("退出数据处理开始,token:{}", token);
RestAPIResult<String> result = passportService.logoutHandle(token);
logger.info("退出数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("退出调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> modifyPass(@RequestBody ModifyPassRequest request) {
logger.info("忘记密码的修改服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("忘记密码的修改数据处理开始,request:{}", request);
RestAPIResult<String> result = passwordService.modifyPassHandle(request);
logger.info("忘记密码的修改数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("忘记密码的修改调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> initCapacity(@RequestParam("userId") String userId) {
logger.info("初始化容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("初始化容量数据处理开始,userId:{}", userId);
RestAPIResult<Integer> result = capacityProvider.initCapacityHandle(userId);
logger.info("初始化容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("初始化容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> renameFileOrDir(@RequestBody RenameFileOrDirRequest request) {
logger.info("文件或文件夹重命名请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件或文件夹重命名数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.renameFileOrDirHandle(request);
logger.info("文件或文件夹重命名数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件或文件夹重命名调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> createDir(@RequestBody CreateDirRequest request) {
logger.info("创建文件夹请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件夹数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.createDirHandle(request);
logger.info("创建文件夹数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件夹调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> copyOrMoveFile(@RequestBody CopyOrMoveFileRequest request) {
logger.info("文件复制或移动请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("文件复制或移动数据处理开始,request:{}", request);
RestAPIResult<String> result = updateContentProvider.copyOrMoveFileHandle(request);
logger.info("文件复制或移动数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("文件复制或移动调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> createVirtualAddress(@RequestBody CreateVirtualAddressRequest request) {
logger.info("创建文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("创建文件数据处理开始,request:{}", request);
RestAPIResult<Integer> result = updateContentProvider.createVirtualAddressHandle(request);
logger.info("创建文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("创建文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkPhoneSend(@RequestParam("username") String username) {
logger.info("手机号/用户名校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("手机号/用户名校验数据处理开始,username:{}", username);
RestAPIResult<String> result = passwordService.checkPhoneSendHandle(username);
logger.info("手机号/用户名校验数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("手机号/用户名校验调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String share(Model model) {
logger.info("跳转到分享管理页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到分享管理页面数据处理开始");
String resultUrl = pageProvider.shareHandle(model);
logger.info("跳转到分享管理页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到分享管理页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String home(Model model) {
logger.info("跳转到主页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到主页面数据处理开始");
String resultUrl = pageProvider.homeHandle(model);
logger.info("跳转到主页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到主页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String index() {
logger.info("首页跳转请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("首页跳转数据处理开始");
String resultUrl = pageProvider.indexHandle();
logger.info("首页跳转数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("首页跳转调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> md5Check(String fid, String md5) {
logger.info("Md5校验服务请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("Md5校验服务数据处理开始,md5:{}", md5);
RestAPIResult<String> result = md5Provider.md5CheckHandle(fid, md5);
logger.info("Md5校验服务数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("Md5校验服务调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<VirtualAddressDTO> getVirtualaddress(String vid, String uid) {
logger.info("根据虚拟地址ID获取实体请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取实体数据处理开始,vid:{}", vid);
RestAPIResult<VirtualAddressDTO> result = queryContentProvider.getVirtualaddressHandle(vid, uid);
logger.info("根据虚拟地址ID获取实体数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取实体调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getFileNameByVid(String vid, String uid) {
logger.info("根据虚拟地址ID获取文件名称请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("根据虚拟地址ID获取文件名称数据处理开始,vid:{}", vid);
RestAPIResult<String> result = queryContentProvider.getFileNameByVidHandle(vid, uid);
logger.info("根据虚拟地址ID获取文件名称数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("根据虚拟地址ID获取文件名称调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> saveShare(@RequestBody SaveShareRequest request) {
logger.info("保存分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("保存分享数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.saveShareHandle(request);
logger.info("保存分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("保存分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> userRegist(@RequestBody UserRegistRequest request) throws Exception {
logger.info("用户注册请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("用户注册数据处理开始,request:{}", request);
RestAPIResult<String> result = registerService.userRegistHandle(request);
logger.info("用户注册数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("用户注册调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String s(Model model, @PathVariable String shareId) {
logger.info("查看分享页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查看分享页面数据处理开始");
String resultUrl = pageProvider.sHandle(model, shareId);
logger.info("查看分享页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("查看分享页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> share(@RequestBody ShareRequest request) {
logger.info("分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("分享文件数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareHandle(request);
logger.info("分享文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String share(Model model) {
logger.info("跳转到分享管理页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到分享管理页面数据处理开始");
String resultUrl = pageProvider.shareHandle(model);
logger.info("跳转到分享管理页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到分享管理页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String home(Model model) {
logger.info("跳转到主页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到主页面数据处理开始");
String resultUrl = pageProvider.homeHandle(model);
logger.info("跳转到主页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到主页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String index() {
logger.info("首页跳转请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("首页跳转数据处理开始");
String resultUrl = pageProvider.indexHandle();
logger.info("首页跳转数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("首页跳转调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> sendSms(@RequestBody SendSmsRequest request) {
logger.info("发送短信请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("发送短信数据处理开始");
RestAPIResult<String> result = sendSmsProvider.sendSmsHandle(request);
logger.info("发送短信数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("发送短信调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> checkLock(@RequestParam("shareId") String shareId) {
logger.info("查询分享是否带密码请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询分享是否带密码数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.checkLockHandle(shareId);
logger.info("查询分享是否带密码数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询分享是否带密码调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String share(Model model) {
logger.info("跳转到分享管理页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到分享管理页面数据处理开始");
String resultUrl = pageProvider.shareHandle(model);
logger.info("跳转到分享管理页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到分享管理页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String home(Model model) {
logger.info("跳转到主页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到主页面数据处理开始");
String resultUrl = pageProvider.homeHandle(model);
logger.info("跳转到主页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到主页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String index() {
logger.info("首页跳转请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("首页跳转数据处理开始");
String resultUrl = pageProvider.indexHandle();
logger.info("首页跳转数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("首页跳转调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> getShareUser(String shareId) {
logger.info("获取分享用户信息请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享用户信息数据处理开始,shareId:{}", shareId);
RestAPIResult<String> result = shareProvider.getShareUserHandle(shareId);
logger.info("获取分享用户信息数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享用户信息调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String share(Model model) {
logger.info("跳转到分享管理页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到分享管理页面数据处理开始");
String resultUrl = pageProvider.shareHandle(model);
logger.info("跳转到分享管理页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到分享管理页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String home(Model model) {
logger.info("跳转到主页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到主页面数据处理开始");
String resultUrl = pageProvider.homeHandle(model);
logger.info("跳转到主页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到主页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String index() {
logger.info("首页跳转请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("首页跳转数据处理开始");
String resultUrl = pageProvider.indexHandle();
logger.info("首页跳转数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("首页跳转调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> unShare(String uid, String vids) {
logger.info("取消分享请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("取消分享数据处理开始,vids:{}", vids);
RestAPIResult<String> result = shareProvider.unShareHandle(uid, vids);
logger.info("取消分享数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("取消分享调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String share(Model model) {
logger.info("跳转到分享管理页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到分享管理页面数据处理开始");
String resultUrl = pageProvider.shareHandle(model);
logger.info("跳转到分享管理页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到分享管理页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String home(Model model) {
logger.info("跳转到主页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到主页面数据处理开始");
String resultUrl = pageProvider.homeHandle(model);
logger.info("跳转到主页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到主页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String index() {
logger.info("首页跳转请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("首页跳转数据处理开始");
String resultUrl = pageProvider.indexHandle();
logger.info("首页跳转数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("首页跳转调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> shareList(ShareListRequest request) {
logger.info("获取分享列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("获取分享列表数据处理开始,request:{}", request);
RestAPIResult<String> result = shareProvider.shareListHandle(request);
logger.info("获取分享列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("获取分享列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String share(Model model) {
logger.info("跳转到分享管理页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到分享管理页面数据处理开始");
String resultUrl = pageProvider.shareHandle(model);
logger.info("跳转到分享管理页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到分享管理页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String home(Model model) {
logger.info("跳转到主页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到主页面数据处理开始");
String resultUrl = pageProvider.homeHandle(model);
logger.info("跳转到主页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到主页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String index() {
logger.info("首页跳转请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("首页跳转数据处理开始");
String resultUrl = pageProvider.indexHandle();
logger.info("首页跳转数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("首页跳转调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> upload(MultipartFile file) throws IOException {
logger.info("上传文件(内部调用)请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件(内部调用)数据处理开始");
RestAPIResult<String> result = uploadFileProvider.uploadHandle(file);
logger.info("上传文件(内部调用)数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String share(Model model) {
logger.info("跳转到分享管理页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到分享管理页面数据处理开始");
String resultUrl = pageProvider.shareHandle(model);
logger.info("跳转到分享管理页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到分享管理页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String home(Model model) {
logger.info("跳转到主页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到主页面数据处理开始");
String resultUrl = pageProvider.homeHandle(model);
logger.info("跳转到主页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到主页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String index() {
logger.info("首页跳转请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("首页跳转数据处理开始");
String resultUrl = pageProvider.indexHandle();
logger.info("首页跳转数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("首页跳转调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> quickUploadFile(QuickUploadFileRequest request) throws UnsupportedEncodingException {
logger.info("秒传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("秒传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.quickUploadFileHandle(request);
logger.info("秒传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("秒传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String share(Model model) {
logger.info("跳转到分享管理页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到分享管理页面数据处理开始");
String resultUrl = pageProvider.shareHandle(model);
logger.info("跳转到分享管理页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到分享管理页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String home(Model model) {
logger.info("跳转到主页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到主页面数据处理开始");
String resultUrl = pageProvider.homeHandle(model);
logger.info("跳转到主页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到主页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String index() {
logger.info("首页跳转请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("首页跳转数据处理开始");
String resultUrl = pageProvider.indexHandle();
logger.info("首页跳转数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("首页跳转调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> uploadFile(UploadFileRequest request) throws IOException {
logger.info("上传文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("上传文件数据处理开始,request:{}", request);
RestAPIResult<String> result = uploadFileProvider.uploadFileHandle(request);
logger.info("上传文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("上传文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> deleteFile(String uid, String vids) throws Exception {
logger.info("删除文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("删除文件数据处理开始,vids:{}", vids);
RestAPIResult<String> result = updateContentProvider.deleteFileHandle(vids);
logger.info("删除文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("删除文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<Integer> checkDirWhether(CheckDirWhetherRequest request) {
logger.info("查询文件夹是否存在请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件夹是否存在数据处理开始,request:{}", request);
RestAPIResult<Integer> result = queryContentProvider.checkDirWhetherHandle(request);
logger.info("查询文件夹是否存在数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件夹是否存在调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> searchFile(SearchFileRequest request) {
logger.info("搜索文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("搜索文件数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.searchFileHandle(request);
logger.info("搜索文件数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("搜索文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFolder(ListFolderRequest request) throws Exception {
logger.info("展示文件夹列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("展示文件夹列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFolderHandle(request);
logger.info("展示文件夹列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("展示文件夹列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> listFile(ListFileRequest request) throws UnsupportedEncodingException {
logger.info("查询文件列表请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询文件列表数据处理开始,request:{}", request);
RestAPIResult<String> result = queryContentProvider.listFileHandle(request);
logger.info("查询文件列表数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询文件列表调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> useCapacity(String uid) {
logger.info("查询使用容量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("查询使用容量数据处理开始,uid:{}", uid);
RestAPIResult<String> result = capacityProvider.useCapacityHandle(uid);
logger.info("查询使用容量数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("查询使用容量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String share(Model model) {
logger.info("跳转到分享管理页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到分享管理页面数据处理开始");
String resultUrl = pageProvider.shareHandle(model);
logger.info("跳转到分享管理页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到分享管理页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String home(Model model) {
logger.info("跳转到主页面请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("跳转到主页面数据处理开始");
String resultUrl = pageProvider.homeHandle(model);
logger.info("跳转到主页面数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("跳转到主页面调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public String index() {
logger.info("首页跳转请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("首页跳转数据处理开始");
String resultUrl = pageProvider.indexHandle();
logger.info("首页跳转数据处理结束,resultUrl:{}", resultUrl);
stopWatch.stop();
logger.info("首页跳转调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return resultUrl;
}
public RestAPIResult<String> getPublicKey() throws Exception {
logger.info("生成公钥请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("生成公钥数据处理开始");
RestAPIResult<String> result = edgeServiceProvider.getPublicKeyHandle();
logger.info("生成公钥数据处理结束,result:{}", result);
stopWatch.stop();
logger.info("生成公钥调用时间,millies:{}", stopWatch.getTotalTimeMillis());
return result;
}
public void download(String uid, String vids, HttpServletResponse res) throws IOException {
logger.info("下载文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("下载文件数据处理开始,vids:{}", vids);
downloadProvider.downloadHandle(uid, vids, res);
logger.info("下载文件数据处理结束");
stopWatch.stop();
logger.info("下载文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
}
public void addShareDownload(@RequestParam("shareId") String shareId) {
logger.info("增加分享下载量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("增加分享下载量数据处理开始,shareId:{}", shareId);
shareProvider.addShareDownloadCountHandle(shareId);
logger.info("增加分享下载量数据处理结束");
stopWatch.stop();
logger.info("增加分享下载量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
}
public void downloadShare(String lockPassword, String shareId, HttpServletResponse res) throws IOException {
logger.info("下载分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("下载分享文件数据处理开始,shareId:{}", shareId);
downloadProvider.downloadShareHandle(lockPassword, shareId, res);
logger.info("下载分享文件数据处理结束");
stopWatch.stop();
logger.info("下载分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
}
public void addShareDownload(@RequestParam("shareId") String shareId) {
logger.info("增加分享下载量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("增加分享下载量数据处理开始,shareId:{}", shareId);
shareProvider.addShareDownloadCountHandle(shareId);
logger.info("增加分享下载量数据处理结束");
stopWatch.stop();
logger.info("增加分享下载量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
}
public void download(String uid, String vids, HttpServletResponse res) throws IOException {
logger.info("下载文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("下载文件数据处理开始,vids:{}", vids);
downloadProvider.downloadHandle(uid, vids, res);
logger.info("下载文件数据处理结束");
stopWatch.stop();
logger.info("下载文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
}
public void addShareView(@RequestBody AddShareViewCountRequest request) {
logger.info("增加分享访问量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("增加分享访问量数据处理开始,request:{}", request);
shareProvider.addShareViewCountHandle(request);
logger.info("增加分享访问量数据处理结束");
stopWatch.stop();
logger.info("增加分享访问量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
}
public void downloadShare(String lockPassword, String shareId, HttpServletResponse res) throws IOException {
logger.info("下载分享文件请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("下载分享文件数据处理开始,shareId:{}", shareId);
downloadProvider.downloadShareHandle(lockPassword, shareId, res);
logger.info("下载分享文件数据处理结束");
stopWatch.stop();
logger.info("下载分享文件调用时间,millies:{}", stopWatch.getTotalTimeMillis());
}
public void addShareView(@RequestBody AddShareViewCountRequest request) {
logger.info("增加分享访问量请求URL:{}", httpServletRequest.getRequestURL());
StopWatch stopWatch = new StopWatch();
stopWatch.start();
logger.info("增加分享访问量数据处理开始,request:{}", request);
shareProvider.addShareViewCountHandle(request);
logger.info("增加分享访问量数据处理结束");
stopWatch.stop();
logger.info("增加分享访问量调用时间,millies:{}", stopWatch.getTotalTimeMillis());
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
public DataSource druidDataSource(){
DruidDataSource datasource = new DruidDataSource();
datasource.setUrl(dataSourceProperties.getUrl());
datasource.setUsername(dataSourceProperties.getUsername());
datasource.setPassword(dataSourceProperties.getPassword());
datasource.setDriverClassName(dataSourceProperties.getDriverClassName());
datasource.setInitialSize(dataSourceProperties.getInitialSize());
datasource.setMinIdle(dataSourceProperties.getMinIdle());
datasource.setMaxActive(dataSourceProperties.getMaxActive());
datasource.setMaxWait(dataSourceProperties.getMaxWait());
datasource.setTimeBetweenEvictionRunsMillis(dataSourceProperties.getTimeBetweenEvictionRunsMillis());
datasource.setMinEvictableIdleTimeMillis(dataSourceProperties.getMinEvictableIdleTimeMillis());
datasource.setValidationQuery(dataSourceProperties.getValidationQuery());
datasource.setTestWhileIdle(dataSourceProperties.isTestWhileIdle());
datasource.setTestOnBorrow(dataSourceProperties.isTestOnBorrow());
datasource.setTestOnReturn(dataSourceProperties.isTestOnReturn());
datasource.setPoolPreparedStatements(dataSourceProperties.isPoolPreparedStatements());
try {
datasource.setFilters(dataSourceProperties.getFilters());
} catch (SQLException e) {
logger.error("Druid configuration initialization filter error.", e);
}
return datasource;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
private Specification<User> createSpecification(Map searchMap) {
return new Specification<User>() {
@Override
public Predicate toPredicate(Root<User> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id") != null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%" + (String) searchMap.get("id") + "%"));
}
// 手机号码
if (searchMap.get("mobile") != null && !"".equals(searchMap.get("mobile"))) {
predicateList.add(cb.like(root.get("mobile").as(String.class), "%" + (String) searchMap.get("mobile") + "%"));
}
// 密码
if (searchMap.get("password") != null && !"".equals(searchMap.get("password"))) {
predicateList.add(cb.like(root.get("password").as(String.class), "%" + (String) searchMap.get("password") + "%"));
}
// 昵称
if (searchMap.get("nickname") != null && !"".equals(searchMap.get("nickname"))) {
predicateList.add(cb.like(root.get("nickname").as(String.class), "%" + (String) searchMap.get("nickname") + "%"));
}
// 性别
if (searchMap.get("sex") != null && !"".equals(searchMap.get("sex"))) {
predicateList.add(cb.like(root.get("sex").as(String.class), "%" + (String) searchMap.get("sex") + "%"));
}
// 头像
if (searchMap.get("avatar") != null && !"".equals(searchMap.get("avatar"))) {
predicateList.add(cb.like(root.get("avatar").as(String.class), "%" + (String) searchMap.get("avatar") + "%"));
}
// E-Mail
if (searchMap.get("email") != null && !"".equals(searchMap.get("email"))) {
predicateList.add(cb.like(root.get("email").as(String.class), "%" + (String) searchMap.get("email") + "%"));
}
// 兴趣
if (searchMap.get("interest") != null && !"".equals(searchMap.get("interest"))) {
predicateList.add(cb.like(root.get("interest").as(String.class), "%" + (String) searchMap.get("interest") + "%"));
}
// 个性
if (searchMap.get("personality") != null && !"".equals(searchMap.get("personality"))) {
predicateList.add(cb.like(root.get("personality").as(String.class), "%" + (String) searchMap.get("personality") + "%"));
}
return cb.and(predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Enterprise> createSpecification(Map searchMap) {
return new Specification<Enterprise>() {
@Override
public Predicate toPredicate(Root<Enterprise> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id") != null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%" + (String) searchMap.get("id") + "%"));
}
// 企业名称
if (searchMap.get("name") != null && !"".equals(searchMap.get("name"))) {
predicateList.add(cb.like(root.get("name").as(String.class), "%" + (String) searchMap.get("name") + "%"));
}
// 企业简介
if (searchMap.get("summary") != null && !"".equals(searchMap.get("summary"))) {
predicateList.add(cb.like(root.get("summary").as(String.class), "%" + (String) searchMap.get("summary") + "%"));
}
// 企业地址
if (searchMap.get("address") != null && !"".equals(searchMap.get("address"))) {
predicateList.add(cb.like(root.get("address").as(String.class), "%" + (String) searchMap.get("address") + "%"));
}
// 标签列表
if (searchMap.get("labels") != null && !"".equals(searchMap.get("labels"))) {
predicateList.add(cb.like(root.get("labels").as(String.class), "%" + (String) searchMap.get("labels") + "%"));
}
// 坐标
if (searchMap.get("coordinate") != null && !"".equals(searchMap.get("coordinate"))) {
predicateList.add(cb.like(root.get("coordinate").as(String.class), "%" + (String) searchMap.get("coordinate") + "%"));
}
// 是否热门
if (searchMap.get("ishot") != null && !"".equals(searchMap.get("ishot"))) {
predicateList.add(cb.like(root.get("ishot").as(String.class), "%" + (String) searchMap.get("ishot") + "%"));
}
// LOGO
if (searchMap.get("logo") != null && !"".equals(searchMap.get("logo"))) {
predicateList.add(cb.like(root.get("logo").as(String.class), "%" + (String) searchMap.get("logo") + "%"));
}
// URL
if (searchMap.get("url") != null && !"".equals(searchMap.get("url"))) {
predicateList.add(cb.like(root.get("url").as(String.class), "%" + (String) searchMap.get("url") + "%"));
}
return cb.and(predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Reply> createSpecification(Map searchMap) {
return new Specification<Reply>() {
@Override
public Predicate toPredicate(Root<Reply> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// 编号
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 问题ID
if (searchMap.get("problemid")!=null && !"".equals(searchMap.get("problemid"))) {
predicateList.add(cb.like(root.get("problemid").as(String.class), "%"+(String)searchMap.get("problemid")+"%"));
}
// 回答内容
if (searchMap.get("content")!=null && !"".equals(searchMap.get("content"))) {
predicateList.add(cb.like(root.get("content").as(String.class), "%"+(String)searchMap.get("content")+"%"));
}
// 回答人ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 回答人昵称
if (searchMap.get("nickname")!=null && !"".equals(searchMap.get("nickname"))) {
predicateList.add(cb.like(root.get("nickname").as(String.class), "%"+(String)searchMap.get("nickname")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Column> createSpecification(Map searchMap) {
return new Specification<Column>() {
@Override
public Predicate toPredicate(Root<Column> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 专栏名称
if (searchMap.get("name")!=null && !"".equals(searchMap.get("name"))) {
predicateList.add(cb.like(root.get("name").as(String.class), "%"+(String)searchMap.get("name")+"%"));
}
// 专栏简介
if (searchMap.get("summary")!=null && !"".equals(searchMap.get("summary"))) {
predicateList.add(cb.like(root.get("summary").as(String.class), "%"+(String)searchMap.get("summary")+"%"));
}
// 用户ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("roles");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", claims);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", claims);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("roles");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("roles");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("roles");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", claims);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", claims);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", claims);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", claims);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", token);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", token);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 无论如何都放行,具体能不能操作还是在具体操作中去判断
// 拦截器只负责把请求头中包含token的令牌进行解析
String header = request.getHeader("Authorization");
if (!StringUtils.isEmpty(header)) {
// 如果有包含Authorization的头信息,就对其进行解析
if (header.startsWith("Bearer ")) {
// 得到token
final String token = header.substring(7);
// 对令牌进行验证
try {
Claims claims = jwtUtil.parseJWT(token);
String roles = (String) claims.get("role");
if ("admin".equals(roles)) {
request.setAttribute("claims_admin", claims);
}
if ("user".equals(roles)) {
request.setAttribute("claims_user", claims);
}
} catch (Exception e) {
throw new RuntimeException("令牌有误!");
}
}
}
return true;
}
private Specification<Recruit> createSpecification(Map searchMap) {
return new Specification<Recruit>() {
@Override
public Predicate toPredicate(Root<Recruit> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 职位名称
if (searchMap.get("jobname")!=null && !"".equals(searchMap.get("jobname"))) {
predicateList.add(cb.like(root.get("jobname").as(String.class), "%"+(String)searchMap.get("jobname")+"%"));
}
// 薪资范围
if (searchMap.get("salary")!=null && !"".equals(searchMap.get("salary"))) {
predicateList.add(cb.like(root.get("salary").as(String.class), "%"+(String)searchMap.get("salary")+"%"));
}
// 经验要求
if (searchMap.get("condition")!=null && !"".equals(searchMap.get("condition"))) {
predicateList.add(cb.like(root.get("condition").as(String.class), "%"+(String)searchMap.get("condition")+"%"));
}
// 学历要求
if (searchMap.get("education")!=null && !"".equals(searchMap.get("education"))) {
predicateList.add(cb.like(root.get("education").as(String.class), "%"+(String)searchMap.get("education")+"%"));
}
// 任职方式
if (searchMap.get("type")!=null && !"".equals(searchMap.get("type"))) {
predicateList.add(cb.like(root.get("type").as(String.class), "%"+(String)searchMap.get("type")+"%"));
}
// 办公地址
if (searchMap.get("address")!=null && !"".equals(searchMap.get("address"))) {
predicateList.add(cb.like(root.get("address").as(String.class), "%"+(String)searchMap.get("address")+"%"));
}
// 企业ID
if (searchMap.get("eid")!=null && !"".equals(searchMap.get("eid"))) {
predicateList.add(cb.like(root.get("eid").as(String.class), "%"+(String)searchMap.get("eid")+"%"));
}
// 状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
// 网址
if (searchMap.get("url")!=null && !"".equals(searchMap.get("url"))) {
predicateList.add(cb.like(root.get("url").as(String.class), "%"+(String)searchMap.get("url")+"%"));
}
// 标签
if (searchMap.get("label")!=null && !"".equals(searchMap.get("label"))) {
predicateList.add(cb.like(root.get("label").as(String.class), "%"+(String)searchMap.get("label")+"%"));
}
// 职位描述
if (searchMap.get("content1")!=null && !"".equals(searchMap.get("content1"))) {
predicateList.add(cb.like(root.get("content1").as(String.class), "%"+(String)searchMap.get("content1")+"%"));
}
// 职位要求
if (searchMap.get("content2")!=null && !"".equals(searchMap.get("content2"))) {
predicateList.add(cb.like(root.get("content2").as(String.class), "%"+(String)searchMap.get("content2")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Article> createSpecification(Map searchMap) {
return new Specification<Article>() {
@Override
public Predicate toPredicate(Root<Article> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 专栏ID
if (searchMap.get("columnid")!=null && !"".equals(searchMap.get("columnid"))) {
predicateList.add(cb.like(root.get("columnid").as(String.class), "%"+(String)searchMap.get("columnid")+"%"));
}
// 用户ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 标题
if (searchMap.get("title")!=null && !"".equals(searchMap.get("title"))) {
predicateList.add(cb.like(root.get("title").as(String.class), "%"+(String)searchMap.get("title")+"%"));
}
// 文章正文
if (searchMap.get("content")!=null && !"".equals(searchMap.get("content"))) {
predicateList.add(cb.like(root.get("content").as(String.class), "%"+(String)searchMap.get("content")+"%"));
}
// 文章封面
if (searchMap.get("image")!=null && !"".equals(searchMap.get("image"))) {
predicateList.add(cb.like(root.get("image").as(String.class), "%"+(String)searchMap.get("image")+"%"));
}
// 是否公开
if (searchMap.get("ispublic")!=null && !"".equals(searchMap.get("ispublic"))) {
predicateList.add(cb.like(root.get("ispublic").as(String.class), "%"+(String)searchMap.get("ispublic")+"%"));
}
// 是否置顶
if (searchMap.get("istop")!=null && !"".equals(searchMap.get("istop"))) {
predicateList.add(cb.like(root.get("istop").as(String.class), "%"+(String)searchMap.get("istop")+"%"));
}
// 审核状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
// 所属频道
if (searchMap.get("channelid")!=null && !"".equals(searchMap.get("channelid"))) {
predicateList.add(cb.like(root.get("channelid").as(String.class), "%"+(String)searchMap.get("channelid")+"%"));
}
// URL
if (searchMap.get("url")!=null && !"".equals(searchMap.get("url"))) {
predicateList.add(cb.like(root.get("url").as(String.class), "%"+(String)searchMap.get("url")+"%"));
}
// 类型
if (searchMap.get("type")!=null && !"".equals(searchMap.get("type"))) {
predicateList.add(cb.like(root.get("type").as(String.class), "%"+(String)searchMap.get("type")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Recruit> createSpecification(Map searchMap) {
return new Specification<Recruit>() {
@Override
public Predicate toPredicate(Root<Recruit> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 职位名称
if (searchMap.get("jobname")!=null && !"".equals(searchMap.get("jobname"))) {
predicateList.add(cb.like(root.get("jobname").as(String.class), "%"+(String)searchMap.get("jobname")+"%"));
}
// 薪资范围
if (searchMap.get("salary")!=null && !"".equals(searchMap.get("salary"))) {
predicateList.add(cb.like(root.get("salary").as(String.class), "%"+(String)searchMap.get("salary")+"%"));
}
// 经验要求
if (searchMap.get("condition")!=null && !"".equals(searchMap.get("condition"))) {
predicateList.add(cb.like(root.get("condition").as(String.class), "%"+(String)searchMap.get("condition")+"%"));
}
// 学历要求
if (searchMap.get("education")!=null && !"".equals(searchMap.get("education"))) {
predicateList.add(cb.like(root.get("education").as(String.class), "%"+(String)searchMap.get("education")+"%"));
}
// 任职方式
if (searchMap.get("type")!=null && !"".equals(searchMap.get("type"))) {
predicateList.add(cb.like(root.get("type").as(String.class), "%"+(String)searchMap.get("type")+"%"));
}
// 办公地址
if (searchMap.get("address")!=null && !"".equals(searchMap.get("address"))) {
predicateList.add(cb.like(root.get("address").as(String.class), "%"+(String)searchMap.get("address")+"%"));
}
// 企业ID
if (searchMap.get("eid")!=null && !"".equals(searchMap.get("eid"))) {
predicateList.add(cb.like(root.get("eid").as(String.class), "%"+(String)searchMap.get("eid")+"%"));
}
// 状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
// 网址
if (searchMap.get("url")!=null && !"".equals(searchMap.get("url"))) {
predicateList.add(cb.like(root.get("url").as(String.class), "%"+(String)searchMap.get("url")+"%"));
}
// 标签
if (searchMap.get("label")!=null && !"".equals(searchMap.get("label"))) {
predicateList.add(cb.like(root.get("label").as(String.class), "%"+(String)searchMap.get("label")+"%"));
}
// 职位描述
if (searchMap.get("content1")!=null && !"".equals(searchMap.get("content1"))) {
predicateList.add(cb.like(root.get("content1").as(String.class), "%"+(String)searchMap.get("content1")+"%"));
}
// 职位要求
if (searchMap.get("content2")!=null && !"".equals(searchMap.get("content2"))) {
predicateList.add(cb.like(root.get("content2").as(String.class), "%"+(String)searchMap.get("content2")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<User> createSpecification(Map searchMap) {
return new Specification<User>() {
@Override
public Predicate toPredicate(Root<User> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id") != null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%" + (String) searchMap.get("id") + "%"));
}
// 手机号码
if (searchMap.get("mobile") != null && !"".equals(searchMap.get("mobile"))) {
predicateList.add(cb.like(root.get("mobile").as(String.class), "%" + (String) searchMap.get("mobile") + "%"));
}
// 密码
if (searchMap.get("password") != null && !"".equals(searchMap.get("password"))) {
predicateList.add(cb.like(root.get("password").as(String.class), "%" + (String) searchMap.get("password") + "%"));
}
// 昵称
if (searchMap.get("nickname") != null && !"".equals(searchMap.get("nickname"))) {
predicateList.add(cb.like(root.get("nickname").as(String.class), "%" + (String) searchMap.get("nickname") + "%"));
}
// 性别
if (searchMap.get("sex") != null && !"".equals(searchMap.get("sex"))) {
predicateList.add(cb.like(root.get("sex").as(String.class), "%" + (String) searchMap.get("sex") + "%"));
}
// 头像
if (searchMap.get("avatar") != null && !"".equals(searchMap.get("avatar"))) {
predicateList.add(cb.like(root.get("avatar").as(String.class), "%" + (String) searchMap.get("avatar") + "%"));
}
// E-Mail
if (searchMap.get("email") != null && !"".equals(searchMap.get("email"))) {
predicateList.add(cb.like(root.get("email").as(String.class), "%" + (String) searchMap.get("email") + "%"));
}
// 兴趣
if (searchMap.get("interest") != null && !"".equals(searchMap.get("interest"))) {
predicateList.add(cb.like(root.get("interest").as(String.class), "%" + (String) searchMap.get("interest") + "%"));
}
// 个性
if (searchMap.get("personality") != null && !"".equals(searchMap.get("personality"))) {
predicateList.add(cb.like(root.get("personality").as(String.class), "%" + (String) searchMap.get("personality") + "%"));
}
return cb.and(predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Article> createSpecification(Map searchMap) {
return new Specification<Article>() {
@Override
public Predicate toPredicate(Root<Article> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 专栏ID
if (searchMap.get("columnid")!=null && !"".equals(searchMap.get("columnid"))) {
predicateList.add(cb.like(root.get("columnid").as(String.class), "%"+(String)searchMap.get("columnid")+"%"));
}
// 用户ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 标题
if (searchMap.get("title")!=null && !"".equals(searchMap.get("title"))) {
predicateList.add(cb.like(root.get("title").as(String.class), "%"+(String)searchMap.get("title")+"%"));
}
// 文章正文
if (searchMap.get("content")!=null && !"".equals(searchMap.get("content"))) {
predicateList.add(cb.like(root.get("content").as(String.class), "%"+(String)searchMap.get("content")+"%"));
}
// 文章封面
if (searchMap.get("image")!=null && !"".equals(searchMap.get("image"))) {
predicateList.add(cb.like(root.get("image").as(String.class), "%"+(String)searchMap.get("image")+"%"));
}
// 是否公开
if (searchMap.get("ispublic")!=null && !"".equals(searchMap.get("ispublic"))) {
predicateList.add(cb.like(root.get("ispublic").as(String.class), "%"+(String)searchMap.get("ispublic")+"%"));
}
// 是否置顶
if (searchMap.get("istop")!=null && !"".equals(searchMap.get("istop"))) {
predicateList.add(cb.like(root.get("istop").as(String.class), "%"+(String)searchMap.get("istop")+"%"));
}
// 审核状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
// 所属频道
if (searchMap.get("channelid")!=null && !"".equals(searchMap.get("channelid"))) {
predicateList.add(cb.like(root.get("channelid").as(String.class), "%"+(String)searchMap.get("channelid")+"%"));
}
// URL
if (searchMap.get("url")!=null && !"".equals(searchMap.get("url"))) {
predicateList.add(cb.like(root.get("url").as(String.class), "%"+(String)searchMap.get("url")+"%"));
}
// 类型
if (searchMap.get("type")!=null && !"".equals(searchMap.get("type"))) {
predicateList.add(cb.like(root.get("type").as(String.class), "%"+(String)searchMap.get("type")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<User> createSpecification(Map searchMap) {
return new Specification<User>() {
@Override
public Predicate toPredicate(Root<User> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id") != null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%" + (String) searchMap.get("id") + "%"));
}
// 手机号码
if (searchMap.get("mobile") != null && !"".equals(searchMap.get("mobile"))) {
predicateList.add(cb.like(root.get("mobile").as(String.class), "%" + (String) searchMap.get("mobile") + "%"));
}
// 密码
if (searchMap.get("password") != null && !"".equals(searchMap.get("password"))) {
predicateList.add(cb.like(root.get("password").as(String.class), "%" + (String) searchMap.get("password") + "%"));
}
// 昵称
if (searchMap.get("nickname") != null && !"".equals(searchMap.get("nickname"))) {
predicateList.add(cb.like(root.get("nickname").as(String.class), "%" + (String) searchMap.get("nickname") + "%"));
}
// 性别
if (searchMap.get("sex") != null && !"".equals(searchMap.get("sex"))) {
predicateList.add(cb.like(root.get("sex").as(String.class), "%" + (String) searchMap.get("sex") + "%"));
}
// 头像
if (searchMap.get("avatar") != null && !"".equals(searchMap.get("avatar"))) {
predicateList.add(cb.like(root.get("avatar").as(String.class), "%" + (String) searchMap.get("avatar") + "%"));
}
// E-Mail
if (searchMap.get("email") != null && !"".equals(searchMap.get("email"))) {
predicateList.add(cb.like(root.get("email").as(String.class), "%" + (String) searchMap.get("email") + "%"));
}
// 兴趣
if (searchMap.get("interest") != null && !"".equals(searchMap.get("interest"))) {
predicateList.add(cb.like(root.get("interest").as(String.class), "%" + (String) searchMap.get("interest") + "%"));
}
// 个性
if (searchMap.get("personality") != null && !"".equals(searchMap.get("personality"))) {
predicateList.add(cb.like(root.get("personality").as(String.class), "%" + (String) searchMap.get("personality") + "%"));
}
return cb.and(predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Article> createSpecification(Map searchMap) {
return new Specification<Article>() {
@Override
public Predicate toPredicate(Root<Article> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 专栏ID
if (searchMap.get("columnid")!=null && !"".equals(searchMap.get("columnid"))) {
predicateList.add(cb.like(root.get("columnid").as(String.class), "%"+(String)searchMap.get("columnid")+"%"));
}
// 用户ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 标题
if (searchMap.get("title")!=null && !"".equals(searchMap.get("title"))) {
predicateList.add(cb.like(root.get("title").as(String.class), "%"+(String)searchMap.get("title")+"%"));
}
// 文章正文
if (searchMap.get("content")!=null && !"".equals(searchMap.get("content"))) {
predicateList.add(cb.like(root.get("content").as(String.class), "%"+(String)searchMap.get("content")+"%"));
}
// 文章封面
if (searchMap.get("image")!=null && !"".equals(searchMap.get("image"))) {
predicateList.add(cb.like(root.get("image").as(String.class), "%"+(String)searchMap.get("image")+"%"));
}
// 是否公开
if (searchMap.get("ispublic")!=null && !"".equals(searchMap.get("ispublic"))) {
predicateList.add(cb.like(root.get("ispublic").as(String.class), "%"+(String)searchMap.get("ispublic")+"%"));
}
// 是否置顶
if (searchMap.get("istop")!=null && !"".equals(searchMap.get("istop"))) {
predicateList.add(cb.like(root.get("istop").as(String.class), "%"+(String)searchMap.get("istop")+"%"));
}
// 审核状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
// 所属频道
if (searchMap.get("channelid")!=null && !"".equals(searchMap.get("channelid"))) {
predicateList.add(cb.like(root.get("channelid").as(String.class), "%"+(String)searchMap.get("channelid")+"%"));
}
// URL
if (searchMap.get("url")!=null && !"".equals(searchMap.get("url"))) {
predicateList.add(cb.like(root.get("url").as(String.class), "%"+(String)searchMap.get("url")+"%"));
}
// 类型
if (searchMap.get("type")!=null && !"".equals(searchMap.get("type"))) {
predicateList.add(cb.like(root.get("type").as(String.class), "%"+(String)searchMap.get("type")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Enterprise> createSpecification(Map searchMap) {
return new Specification<Enterprise>() {
@Override
public Predicate toPredicate(Root<Enterprise> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id") != null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%" + (String) searchMap.get("id") + "%"));
}
// 企业名称
if (searchMap.get("name") != null && !"".equals(searchMap.get("name"))) {
predicateList.add(cb.like(root.get("name").as(String.class), "%" + (String) searchMap.get("name") + "%"));
}
// 企业简介
if (searchMap.get("summary") != null && !"".equals(searchMap.get("summary"))) {
predicateList.add(cb.like(root.get("summary").as(String.class), "%" + (String) searchMap.get("summary") + "%"));
}
// 企业地址
if (searchMap.get("address") != null && !"".equals(searchMap.get("address"))) {
predicateList.add(cb.like(root.get("address").as(String.class), "%" + (String) searchMap.get("address") + "%"));
}
// 标签列表
if (searchMap.get("labels") != null && !"".equals(searchMap.get("labels"))) {
predicateList.add(cb.like(root.get("labels").as(String.class), "%" + (String) searchMap.get("labels") + "%"));
}
// 坐标
if (searchMap.get("coordinate") != null && !"".equals(searchMap.get("coordinate"))) {
predicateList.add(cb.like(root.get("coordinate").as(String.class), "%" + (String) searchMap.get("coordinate") + "%"));
}
// 是否热门
if (searchMap.get("ishot") != null && !"".equals(searchMap.get("ishot"))) {
predicateList.add(cb.like(root.get("ishot").as(String.class), "%" + (String) searchMap.get("ishot") + "%"));
}
// LOGO
if (searchMap.get("logo") != null && !"".equals(searchMap.get("logo"))) {
predicateList.add(cb.like(root.get("logo").as(String.class), "%" + (String) searchMap.get("logo") + "%"));
}
// URL
if (searchMap.get("url") != null && !"".equals(searchMap.get("url"))) {
predicateList.add(cb.like(root.get("url").as(String.class), "%" + (String) searchMap.get("url") + "%"));
}
return cb.and(predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Notice> createSpecification(Map searchMap) {
return new Specification<Notice>() {
//此处省略了关于创建时间的条件
@Override
public Predicate toPredicate(Root<Notice> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
if (searchMap.get("receiverId")!=null && !"".equals(searchMap.get("receiverId"))) {
predicateList.add(cb.like(root.get("receiverId").as(String.class), "%"+(String)searchMap.get("receiverId")+"%"));
}
if (searchMap.get("operatorId")!=null && !"".equals(searchMap.get("operatorId"))) {
predicateList.add(cb.like(root.get("operatorId").as(String.class), "%"+(String)searchMap.get("operatorId")+"%"));
}
if (searchMap.get("action")!=null && !"".equals(searchMap.get("action"))) {
predicateList.add(cb.like(root.get("action").as(String.class), "%"+(String)searchMap.get("action")+"%"));
}
if (searchMap.get("targetType")!=null && !"".equals(searchMap.get("targetType"))) {
predicateList.add(cb.like(root.get("targetType").as(String.class), "%"+(String)searchMap.get("targetType")+"%"));
}
if (searchMap.get("targetId")!=null && !"".equals(searchMap.get("targetId"))) {
predicateList.add(cb.like(root.get("targetId").as(String.class), "%"+(String)searchMap.get("targetId")+"%"));
}
if (searchMap.get("type")!=null && !"".equals(searchMap.get("type"))) {
predicateList.add(cb.like(root.get("type").as(String.class), "%"+(String)searchMap.get("type")+"%"));
}
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Article> createSpecification(Map searchMap) {
return new Specification<Article>() {
@Override
public Predicate toPredicate(Root<Article> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 专栏ID
if (searchMap.get("columnid")!=null && !"".equals(searchMap.get("columnid"))) {
predicateList.add(cb.like(root.get("columnid").as(String.class), "%"+(String)searchMap.get("columnid")+"%"));
}
// 用户ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 标题
if (searchMap.get("title")!=null && !"".equals(searchMap.get("title"))) {
predicateList.add(cb.like(root.get("title").as(String.class), "%"+(String)searchMap.get("title")+"%"));
}
// 文章正文
if (searchMap.get("content")!=null && !"".equals(searchMap.get("content"))) {
predicateList.add(cb.like(root.get("content").as(String.class), "%"+(String)searchMap.get("content")+"%"));
}
// 文章封面
if (searchMap.get("image")!=null && !"".equals(searchMap.get("image"))) {
predicateList.add(cb.like(root.get("image").as(String.class), "%"+(String)searchMap.get("image")+"%"));
}
// 是否公开
if (searchMap.get("ispublic")!=null && !"".equals(searchMap.get("ispublic"))) {
predicateList.add(cb.like(root.get("ispublic").as(String.class), "%"+(String)searchMap.get("ispublic")+"%"));
}
// 是否置顶
if (searchMap.get("istop")!=null && !"".equals(searchMap.get("istop"))) {
predicateList.add(cb.like(root.get("istop").as(String.class), "%"+(String)searchMap.get("istop")+"%"));
}
// 审核状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
// 所属频道
if (searchMap.get("channelid")!=null && !"".equals(searchMap.get("channelid"))) {
predicateList.add(cb.like(root.get("channelid").as(String.class), "%"+(String)searchMap.get("channelid")+"%"));
}
// URL
if (searchMap.get("url")!=null && !"".equals(searchMap.get("url"))) {
predicateList.add(cb.like(root.get("url").as(String.class), "%"+(String)searchMap.get("url")+"%"));
}
// 类型
if (searchMap.get("type")!=null && !"".equals(searchMap.get("type"))) {
predicateList.add(cb.like(root.get("type").as(String.class), "%"+(String)searchMap.get("type")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Notice> createSpecification(Map searchMap) {
return new Specification<Notice>() {
//此处省略了关于创建时间的条件
@Override
public Predicate toPredicate(Root<Notice> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
if (searchMap.get("receiverId")!=null && !"".equals(searchMap.get("receiverId"))) {
predicateList.add(cb.like(root.get("receiverId").as(String.class), "%"+(String)searchMap.get("receiverId")+"%"));
}
if (searchMap.get("operatorId")!=null && !"".equals(searchMap.get("operatorId"))) {
predicateList.add(cb.like(root.get("operatorId").as(String.class), "%"+(String)searchMap.get("operatorId")+"%"));
}
if (searchMap.get("action")!=null && !"".equals(searchMap.get("action"))) {
predicateList.add(cb.like(root.get("action").as(String.class), "%"+(String)searchMap.get("action")+"%"));
}
if (searchMap.get("targetType")!=null && !"".equals(searchMap.get("targetType"))) {
predicateList.add(cb.like(root.get("targetType").as(String.class), "%"+(String)searchMap.get("targetType")+"%"));
}
if (searchMap.get("targetId")!=null && !"".equals(searchMap.get("targetId"))) {
predicateList.add(cb.like(root.get("targetId").as(String.class), "%"+(String)searchMap.get("targetId")+"%"));
}
if (searchMap.get("type")!=null && !"".equals(searchMap.get("type"))) {
predicateList.add(cb.like(root.get("type").as(String.class), "%"+(String)searchMap.get("type")+"%"));
}
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<User> createSpecification(Map searchMap) {
return new Specification<User>() {
@Override
public Predicate toPredicate(Root<User> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id") != null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%" + (String) searchMap.get("id") + "%"));
}
// 手机号码
if (searchMap.get("mobile") != null && !"".equals(searchMap.get("mobile"))) {
predicateList.add(cb.like(root.get("mobile").as(String.class), "%" + (String) searchMap.get("mobile") + "%"));
}
// 密码
if (searchMap.get("password") != null && !"".equals(searchMap.get("password"))) {
predicateList.add(cb.like(root.get("password").as(String.class), "%" + (String) searchMap.get("password") + "%"));
}
// 昵称
if (searchMap.get("nickname") != null && !"".equals(searchMap.get("nickname"))) {
predicateList.add(cb.like(root.get("nickname").as(String.class), "%" + (String) searchMap.get("nickname") + "%"));
}
// 性别
if (searchMap.get("sex") != null && !"".equals(searchMap.get("sex"))) {
predicateList.add(cb.like(root.get("sex").as(String.class), "%" + (String) searchMap.get("sex") + "%"));
}
// 头像
if (searchMap.get("avatar") != null && !"".equals(searchMap.get("avatar"))) {
predicateList.add(cb.like(root.get("avatar").as(String.class), "%" + (String) searchMap.get("avatar") + "%"));
}
// E-Mail
if (searchMap.get("email") != null && !"".equals(searchMap.get("email"))) {
predicateList.add(cb.like(root.get("email").as(String.class), "%" + (String) searchMap.get("email") + "%"));
}
// 兴趣
if (searchMap.get("interest") != null && !"".equals(searchMap.get("interest"))) {
predicateList.add(cb.like(root.get("interest").as(String.class), "%" + (String) searchMap.get("interest") + "%"));
}
// 个性
if (searchMap.get("personality") != null && !"".equals(searchMap.get("personality"))) {
predicateList.add(cb.like(root.get("personality").as(String.class), "%" + (String) searchMap.get("personality") + "%"));
}
return cb.and(predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Problem> createSpecification(Map searchMap) {
return new Specification<Problem>() {
@Override
public Predicate toPredicate(Root<Problem> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 标题
if (searchMap.get("title")!=null && !"".equals(searchMap.get("title"))) {
predicateList.add(cb.like(root.get("title").as(String.class), "%"+(String)searchMap.get("title")+"%"));
}
// 内容
if (searchMap.get("content")!=null && !"".equals(searchMap.get("content"))) {
predicateList.add(cb.like(root.get("content").as(String.class), "%"+(String)searchMap.get("content")+"%"));
}
// 用户ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 昵称
if (searchMap.get("nickname")!=null && !"".equals(searchMap.get("nickname"))) {
predicateList.add(cb.like(root.get("nickname").as(String.class), "%"+(String)searchMap.get("nickname")+"%"));
}
// 是否解决
if (searchMap.get("solve")!=null && !"".equals(searchMap.get("solve"))) {
predicateList.add(cb.like(root.get("solve").as(String.class), "%"+(String)searchMap.get("solve")+"%"));
}
// 回复人昵称
if (searchMap.get("replyname")!=null && !"".equals(searchMap.get("replyname"))) {
predicateList.add(cb.like(root.get("replyname").as(String.class), "%"+(String)searchMap.get("replyname")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<User> createSpecification(Map searchMap) {
return new Specification<User>() {
@Override
public Predicate toPredicate(Root<User> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id") != null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%" + (String) searchMap.get("id") + "%"));
}
// 手机号码
if (searchMap.get("mobile") != null && !"".equals(searchMap.get("mobile"))) {
predicateList.add(cb.like(root.get("mobile").as(String.class), "%" + (String) searchMap.get("mobile") + "%"));
}
// 密码
if (searchMap.get("password") != null && !"".equals(searchMap.get("password"))) {
predicateList.add(cb.like(root.get("password").as(String.class), "%" + (String) searchMap.get("password") + "%"));
}
// 昵称
if (searchMap.get("nickname") != null && !"".equals(searchMap.get("nickname"))) {
predicateList.add(cb.like(root.get("nickname").as(String.class), "%" + (String) searchMap.get("nickname") + "%"));
}
// 性别
if (searchMap.get("sex") != null && !"".equals(searchMap.get("sex"))) {
predicateList.add(cb.like(root.get("sex").as(String.class), "%" + (String) searchMap.get("sex") + "%"));
}
// 头像
if (searchMap.get("avatar") != null && !"".equals(searchMap.get("avatar"))) {
predicateList.add(cb.like(root.get("avatar").as(String.class), "%" + (String) searchMap.get("avatar") + "%"));
}
// E-Mail
if (searchMap.get("email") != null && !"".equals(searchMap.get("email"))) {
predicateList.add(cb.like(root.get("email").as(String.class), "%" + (String) searchMap.get("email") + "%"));
}
// 兴趣
if (searchMap.get("interest") != null && !"".equals(searchMap.get("interest"))) {
predicateList.add(cb.like(root.get("interest").as(String.class), "%" + (String) searchMap.get("interest") + "%"));
}
// 个性
if (searchMap.get("personality") != null && !"".equals(searchMap.get("personality"))) {
predicateList.add(cb.like(root.get("personality").as(String.class), "%" + (String) searchMap.get("personality") + "%"));
}
return cb.and(predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Notice> createSpecification(Map searchMap) {
return new Specification<Notice>() {
//此处省略了关于创建时间的条件
@Override
public Predicate toPredicate(Root<Notice> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
if (searchMap.get("receiverId")!=null && !"".equals(searchMap.get("receiverId"))) {
predicateList.add(cb.like(root.get("receiverId").as(String.class), "%"+(String)searchMap.get("receiverId")+"%"));
}
if (searchMap.get("operatorId")!=null && !"".equals(searchMap.get("operatorId"))) {
predicateList.add(cb.like(root.get("operatorId").as(String.class), "%"+(String)searchMap.get("operatorId")+"%"));
}
if (searchMap.get("action")!=null && !"".equals(searchMap.get("action"))) {
predicateList.add(cb.like(root.get("action").as(String.class), "%"+(String)searchMap.get("action")+"%"));
}
if (searchMap.get("targetType")!=null && !"".equals(searchMap.get("targetType"))) {
predicateList.add(cb.like(root.get("targetType").as(String.class), "%"+(String)searchMap.get("targetType")+"%"));
}
if (searchMap.get("targetId")!=null && !"".equals(searchMap.get("targetId"))) {
predicateList.add(cb.like(root.get("targetId").as(String.class), "%"+(String)searchMap.get("targetId")+"%"));
}
if (searchMap.get("type")!=null && !"".equals(searchMap.get("type"))) {
predicateList.add(cb.like(root.get("type").as(String.class), "%"+(String)searchMap.get("type")+"%"));
}
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Enterprise> createSpecification(Map searchMap) {
return new Specification<Enterprise>() {
@Override
public Predicate toPredicate(Root<Enterprise> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id") != null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%" + (String) searchMap.get("id") + "%"));
}
// 企业名称
if (searchMap.get("name") != null && !"".equals(searchMap.get("name"))) {
predicateList.add(cb.like(root.get("name").as(String.class), "%" + (String) searchMap.get("name") + "%"));
}
// 企业简介
if (searchMap.get("summary") != null && !"".equals(searchMap.get("summary"))) {
predicateList.add(cb.like(root.get("summary").as(String.class), "%" + (String) searchMap.get("summary") + "%"));
}
// 企业地址
if (searchMap.get("address") != null && !"".equals(searchMap.get("address"))) {
predicateList.add(cb.like(root.get("address").as(String.class), "%" + (String) searchMap.get("address") + "%"));
}
// 标签列表
if (searchMap.get("labels") != null && !"".equals(searchMap.get("labels"))) {
predicateList.add(cb.like(root.get("labels").as(String.class), "%" + (String) searchMap.get("labels") + "%"));
}
// 坐标
if (searchMap.get("coordinate") != null && !"".equals(searchMap.get("coordinate"))) {
predicateList.add(cb.like(root.get("coordinate").as(String.class), "%" + (String) searchMap.get("coordinate") + "%"));
}
// 是否热门
if (searchMap.get("ishot") != null && !"".equals(searchMap.get("ishot"))) {
predicateList.add(cb.like(root.get("ishot").as(String.class), "%" + (String) searchMap.get("ishot") + "%"));
}
// LOGO
if (searchMap.get("logo") != null && !"".equals(searchMap.get("logo"))) {
predicateList.add(cb.like(root.get("logo").as(String.class), "%" + (String) searchMap.get("logo") + "%"));
}
// URL
if (searchMap.get("url") != null && !"".equals(searchMap.get("url"))) {
predicateList.add(cb.like(root.get("url").as(String.class), "%" + (String) searchMap.get("url") + "%"));
}
return cb.and(predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Problem> createSpecification(Map searchMap) {
return new Specification<Problem>() {
@Override
public Predicate toPredicate(Root<Problem> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 标题
if (searchMap.get("title")!=null && !"".equals(searchMap.get("title"))) {
predicateList.add(cb.like(root.get("title").as(String.class), "%"+(String)searchMap.get("title")+"%"));
}
// 内容
if (searchMap.get("content")!=null && !"".equals(searchMap.get("content"))) {
predicateList.add(cb.like(root.get("content").as(String.class), "%"+(String)searchMap.get("content")+"%"));
}
// 用户ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 昵称
if (searchMap.get("nickname")!=null && !"".equals(searchMap.get("nickname"))) {
predicateList.add(cb.like(root.get("nickname").as(String.class), "%"+(String)searchMap.get("nickname")+"%"));
}
// 是否解决
if (searchMap.get("solve")!=null && !"".equals(searchMap.get("solve"))) {
predicateList.add(cb.like(root.get("solve").as(String.class), "%"+(String)searchMap.get("solve")+"%"));
}
// 回复人昵称
if (searchMap.get("replyname")!=null && !"".equals(searchMap.get("replyname"))) {
predicateList.add(cb.like(root.get("replyname").as(String.class), "%"+(String)searchMap.get("replyname")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Enterprise> createSpecification(Map searchMap) {
return new Specification<Enterprise>() {
@Override
public Predicate toPredicate(Root<Enterprise> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id") != null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%" + (String) searchMap.get("id") + "%"));
}
// 企业名称
if (searchMap.get("name") != null && !"".equals(searchMap.get("name"))) {
predicateList.add(cb.like(root.get("name").as(String.class), "%" + (String) searchMap.get("name") + "%"));
}
// 企业简介
if (searchMap.get("summary") != null && !"".equals(searchMap.get("summary"))) {
predicateList.add(cb.like(root.get("summary").as(String.class), "%" + (String) searchMap.get("summary") + "%"));
}
// 企业地址
if (searchMap.get("address") != null && !"".equals(searchMap.get("address"))) {
predicateList.add(cb.like(root.get("address").as(String.class), "%" + (String) searchMap.get("address") + "%"));
}
// 标签列表
if (searchMap.get("labels") != null && !"".equals(searchMap.get("labels"))) {
predicateList.add(cb.like(root.get("labels").as(String.class), "%" + (String) searchMap.get("labels") + "%"));
}
// 坐标
if (searchMap.get("coordinate") != null && !"".equals(searchMap.get("coordinate"))) {
predicateList.add(cb.like(root.get("coordinate").as(String.class), "%" + (String) searchMap.get("coordinate") + "%"));
}
// 是否热门
if (searchMap.get("ishot") != null && !"".equals(searchMap.get("ishot"))) {
predicateList.add(cb.like(root.get("ishot").as(String.class), "%" + (String) searchMap.get("ishot") + "%"));
}
// LOGO
if (searchMap.get("logo") != null && !"".equals(searchMap.get("logo"))) {
predicateList.add(cb.like(root.get("logo").as(String.class), "%" + (String) searchMap.get("logo") + "%"));
}
// URL
if (searchMap.get("url") != null && !"".equals(searchMap.get("url"))) {
predicateList.add(cb.like(root.get("url").as(String.class), "%" + (String) searchMap.get("url") + "%"));
}
return cb.and(predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Notice> createSpecification(Map searchMap) {
return new Specification<Notice>() {
//此处省略了关于创建时间的条件
@Override
public Predicate toPredicate(Root<Notice> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
if (searchMap.get("receiverId")!=null && !"".equals(searchMap.get("receiverId"))) {
predicateList.add(cb.like(root.get("receiverId").as(String.class), "%"+(String)searchMap.get("receiverId")+"%"));
}
if (searchMap.get("operatorId")!=null && !"".equals(searchMap.get("operatorId"))) {
predicateList.add(cb.like(root.get("operatorId").as(String.class), "%"+(String)searchMap.get("operatorId")+"%"));
}
if (searchMap.get("action")!=null && !"".equals(searchMap.get("action"))) {
predicateList.add(cb.like(root.get("action").as(String.class), "%"+(String)searchMap.get("action")+"%"));
}
if (searchMap.get("targetType")!=null && !"".equals(searchMap.get("targetType"))) {
predicateList.add(cb.like(root.get("targetType").as(String.class), "%"+(String)searchMap.get("targetType")+"%"));
}
if (searchMap.get("targetId")!=null && !"".equals(searchMap.get("targetId"))) {
predicateList.add(cb.like(root.get("targetId").as(String.class), "%"+(String)searchMap.get("targetId")+"%"));
}
if (searchMap.get("type")!=null && !"".equals(searchMap.get("type"))) {
predicateList.add(cb.like(root.get("type").as(String.class), "%"+(String)searchMap.get("type")+"%"));
}
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Problem> createSpecification(Map searchMap) {
return new Specification<Problem>() {
@Override
public Predicate toPredicate(Root<Problem> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 标题
if (searchMap.get("title")!=null && !"".equals(searchMap.get("title"))) {
predicateList.add(cb.like(root.get("title").as(String.class), "%"+(String)searchMap.get("title")+"%"));
}
// 内容
if (searchMap.get("content")!=null && !"".equals(searchMap.get("content"))) {
predicateList.add(cb.like(root.get("content").as(String.class), "%"+(String)searchMap.get("content")+"%"));
}
// 用户ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 昵称
if (searchMap.get("nickname")!=null && !"".equals(searchMap.get("nickname"))) {
predicateList.add(cb.like(root.get("nickname").as(String.class), "%"+(String)searchMap.get("nickname")+"%"));
}
// 是否解决
if (searchMap.get("solve")!=null && !"".equals(searchMap.get("solve"))) {
predicateList.add(cb.like(root.get("solve").as(String.class), "%"+(String)searchMap.get("solve")+"%"));
}
// 回复人昵称
if (searchMap.get("replyname")!=null && !"".equals(searchMap.get("replyname"))) {
predicateList.add(cb.like(root.get("replyname").as(String.class), "%"+(String)searchMap.get("replyname")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Column> createSpecification(Map searchMap) {
return new Specification<Column>() {
@Override
public Predicate toPredicate(Root<Column> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 专栏名称
if (searchMap.get("name")!=null && !"".equals(searchMap.get("name"))) {
predicateList.add(cb.like(root.get("name").as(String.class), "%"+(String)searchMap.get("name")+"%"));
}
// 专栏简介
if (searchMap.get("summary")!=null && !"".equals(searchMap.get("summary"))) {
predicateList.add(cb.like(root.get("summary").as(String.class), "%"+(String)searchMap.get("summary")+"%"));
}
// 用户ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Notice> createSpecification(Map searchMap) {
return new Specification<Notice>() {
//此处省略了关于创建时间的条件
@Override
public Predicate toPredicate(Root<Notice> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
if (searchMap.get("receiverId")!=null && !"".equals(searchMap.get("receiverId"))) {
predicateList.add(cb.like(root.get("receiverId").as(String.class), "%"+(String)searchMap.get("receiverId")+"%"));
}
if (searchMap.get("operatorId")!=null && !"".equals(searchMap.get("operatorId"))) {
predicateList.add(cb.like(root.get("operatorId").as(String.class), "%"+(String)searchMap.get("operatorId")+"%"));
}
if (searchMap.get("action")!=null && !"".equals(searchMap.get("action"))) {
predicateList.add(cb.like(root.get("action").as(String.class), "%"+(String)searchMap.get("action")+"%"));
}
if (searchMap.get("targetType")!=null && !"".equals(searchMap.get("targetType"))) {
predicateList.add(cb.like(root.get("targetType").as(String.class), "%"+(String)searchMap.get("targetType")+"%"));
}
if (searchMap.get("targetId")!=null && !"".equals(searchMap.get("targetId"))) {
predicateList.add(cb.like(root.get("targetId").as(String.class), "%"+(String)searchMap.get("targetId")+"%"));
}
if (searchMap.get("type")!=null && !"".equals(searchMap.get("type"))) {
predicateList.add(cb.like(root.get("type").as(String.class), "%"+(String)searchMap.get("type")+"%"));
}
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Reply> createSpecification(Map searchMap) {
return new Specification<Reply>() {
@Override
public Predicate toPredicate(Root<Reply> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// 编号
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 问题ID
if (searchMap.get("problemid")!=null && !"".equals(searchMap.get("problemid"))) {
predicateList.add(cb.like(root.get("problemid").as(String.class), "%"+(String)searchMap.get("problemid")+"%"));
}
// 回答内容
if (searchMap.get("content")!=null && !"".equals(searchMap.get("content"))) {
predicateList.add(cb.like(root.get("content").as(String.class), "%"+(String)searchMap.get("content")+"%"));
}
// 回答人ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 回答人昵称
if (searchMap.get("nickname")!=null && !"".equals(searchMap.get("nickname"))) {
predicateList.add(cb.like(root.get("nickname").as(String.class), "%"+(String)searchMap.get("nickname")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Notice> createSpecification(Map searchMap) {
return new Specification<Notice>() {
//此处省略了关于创建时间的条件
@Override
public Predicate toPredicate(Root<Notice> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
if (searchMap.get("receiverId")!=null && !"".equals(searchMap.get("receiverId"))) {
predicateList.add(cb.like(root.get("receiverId").as(String.class), "%"+(String)searchMap.get("receiverId")+"%"));
}
if (searchMap.get("operatorId")!=null && !"".equals(searchMap.get("operatorId"))) {
predicateList.add(cb.like(root.get("operatorId").as(String.class), "%"+(String)searchMap.get("operatorId")+"%"));
}
if (searchMap.get("action")!=null && !"".equals(searchMap.get("action"))) {
predicateList.add(cb.like(root.get("action").as(String.class), "%"+(String)searchMap.get("action")+"%"));
}
if (searchMap.get("targetType")!=null && !"".equals(searchMap.get("targetType"))) {
predicateList.add(cb.like(root.get("targetType").as(String.class), "%"+(String)searchMap.get("targetType")+"%"));
}
if (searchMap.get("targetId")!=null && !"".equals(searchMap.get("targetId"))) {
predicateList.add(cb.like(root.get("targetId").as(String.class), "%"+(String)searchMap.get("targetId")+"%"));
}
if (searchMap.get("type")!=null && !"".equals(searchMap.get("type"))) {
predicateList.add(cb.like(root.get("type").as(String.class), "%"+(String)searchMap.get("type")+"%"));
}
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Column> createSpecification(Map searchMap) {
return new Specification<Column>() {
@Override
public Predicate toPredicate(Root<Column> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 专栏名称
if (searchMap.get("name")!=null && !"".equals(searchMap.get("name"))) {
predicateList.add(cb.like(root.get("name").as(String.class), "%"+(String)searchMap.get("name")+"%"));
}
// 专栏简介
if (searchMap.get("summary")!=null && !"".equals(searchMap.get("summary"))) {
predicateList.add(cb.like(root.get("summary").as(String.class), "%"+(String)searchMap.get("summary")+"%"));
}
// 用户ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Problem> createSpecification(Map searchMap) {
return new Specification<Problem>() {
@Override
public Predicate toPredicate(Root<Problem> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 标题
if (searchMap.get("title")!=null && !"".equals(searchMap.get("title"))) {
predicateList.add(cb.like(root.get("title").as(String.class), "%"+(String)searchMap.get("title")+"%"));
}
// 内容
if (searchMap.get("content")!=null && !"".equals(searchMap.get("content"))) {
predicateList.add(cb.like(root.get("content").as(String.class), "%"+(String)searchMap.get("content")+"%"));
}
// 用户ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 昵称
if (searchMap.get("nickname")!=null && !"".equals(searchMap.get("nickname"))) {
predicateList.add(cb.like(root.get("nickname").as(String.class), "%"+(String)searchMap.get("nickname")+"%"));
}
// 是否解决
if (searchMap.get("solve")!=null && !"".equals(searchMap.get("solve"))) {
predicateList.add(cb.like(root.get("solve").as(String.class), "%"+(String)searchMap.get("solve")+"%"));
}
// 回复人昵称
if (searchMap.get("replyname")!=null && !"".equals(searchMap.get("replyname"))) {
predicateList.add(cb.like(root.get("replyname").as(String.class), "%"+(String)searchMap.get("replyname")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Admin> createSpecification(Map searchMap) {
return new Specification<Admin>() {
@Override
public Predicate toPredicate(Root<Admin> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 登陆名称
if (searchMap.get("loginname")!=null && !"".equals(searchMap.get("loginname"))) {
predicateList.add(cb.like(root.get("loginname").as(String.class), "%"+(String)searchMap.get("loginname")+"%"));
}
// 密码
if (searchMap.get("password")!=null && !"".equals(searchMap.get("password"))) {
predicateList.add(cb.like(root.get("password").as(String.class), "%"+(String)searchMap.get("password")+"%"));
}
// 状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Problem> createSpecification(Map searchMap) {
return new Specification<Problem>() {
@Override
public Predicate toPredicate(Root<Problem> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 标题
if (searchMap.get("title")!=null && !"".equals(searchMap.get("title"))) {
predicateList.add(cb.like(root.get("title").as(String.class), "%"+(String)searchMap.get("title")+"%"));
}
// 内容
if (searchMap.get("content")!=null && !"".equals(searchMap.get("content"))) {
predicateList.add(cb.like(root.get("content").as(String.class), "%"+(String)searchMap.get("content")+"%"));
}
// 用户ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 昵称
if (searchMap.get("nickname")!=null && !"".equals(searchMap.get("nickname"))) {
predicateList.add(cb.like(root.get("nickname").as(String.class), "%"+(String)searchMap.get("nickname")+"%"));
}
// 是否解决
if (searchMap.get("solve")!=null && !"".equals(searchMap.get("solve"))) {
predicateList.add(cb.like(root.get("solve").as(String.class), "%"+(String)searchMap.get("solve")+"%"));
}
// 回复人昵称
if (searchMap.get("replyname")!=null && !"".equals(searchMap.get("replyname"))) {
predicateList.add(cb.like(root.get("replyname").as(String.class), "%"+(String)searchMap.get("replyname")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Admin> createSpecification(Map searchMap) {
return new Specification<Admin>() {
@Override
public Predicate toPredicate(Root<Admin> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 登陆名称
if (searchMap.get("loginname")!=null && !"".equals(searchMap.get("loginname"))) {
predicateList.add(cb.like(root.get("loginname").as(String.class), "%"+(String)searchMap.get("loginname")+"%"));
}
// 密码
if (searchMap.get("password")!=null && !"".equals(searchMap.get("password"))) {
predicateList.add(cb.like(root.get("password").as(String.class), "%"+(String)searchMap.get("password")+"%"));
}
// 状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Column> createSpecification(Map searchMap) {
return new Specification<Column>() {
@Override
public Predicate toPredicate(Root<Column> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 专栏名称
if (searchMap.get("name")!=null && !"".equals(searchMap.get("name"))) {
predicateList.add(cb.like(root.get("name").as(String.class), "%"+(String)searchMap.get("name")+"%"));
}
// 专栏简介
if (searchMap.get("summary")!=null && !"".equals(searchMap.get("summary"))) {
predicateList.add(cb.like(root.get("summary").as(String.class), "%"+(String)searchMap.get("summary")+"%"));
}
// 用户ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Reply> createSpecification(Map searchMap) {
return new Specification<Reply>() {
@Override
public Predicate toPredicate(Root<Reply> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// 编号
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 问题ID
if (searchMap.get("problemid")!=null && !"".equals(searchMap.get("problemid"))) {
predicateList.add(cb.like(root.get("problemid").as(String.class), "%"+(String)searchMap.get("problemid")+"%"));
}
// 回答内容
if (searchMap.get("content")!=null && !"".equals(searchMap.get("content"))) {
predicateList.add(cb.like(root.get("content").as(String.class), "%"+(String)searchMap.get("content")+"%"));
}
// 回答人ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 回答人昵称
if (searchMap.get("nickname")!=null && !"".equals(searchMap.get("nickname"))) {
predicateList.add(cb.like(root.get("nickname").as(String.class), "%"+(String)searchMap.get("nickname")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Admin> createSpecification(Map searchMap) {
return new Specification<Admin>() {
@Override
public Predicate toPredicate(Root<Admin> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 登陆名称
if (searchMap.get("loginname")!=null && !"".equals(searchMap.get("loginname"))) {
predicateList.add(cb.like(root.get("loginname").as(String.class), "%"+(String)searchMap.get("loginname")+"%"));
}
// 密码
if (searchMap.get("password")!=null && !"".equals(searchMap.get("password"))) {
predicateList.add(cb.like(root.get("password").as(String.class), "%"+(String)searchMap.get("password")+"%"));
}
// 状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Channel> createSpecification(Map searchMap) {
return new Specification<Channel>() {
@Override
public Predicate toPredicate(Root<Channel> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 频道名称
if (searchMap.get("name")!=null && !"".equals(searchMap.get("name"))) {
predicateList.add(cb.like(root.get("name").as(String.class), "%"+(String)searchMap.get("name")+"%"));
}
// 状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Reply> createSpecification(Map searchMap) {
return new Specification<Reply>() {
@Override
public Predicate toPredicate(Root<Reply> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// 编号
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 问题ID
if (searchMap.get("problemid")!=null && !"".equals(searchMap.get("problemid"))) {
predicateList.add(cb.like(root.get("problemid").as(String.class), "%"+(String)searchMap.get("problemid")+"%"));
}
// 回答内容
if (searchMap.get("content")!=null && !"".equals(searchMap.get("content"))) {
predicateList.add(cb.like(root.get("content").as(String.class), "%"+(String)searchMap.get("content")+"%"));
}
// 回答人ID
if (searchMap.get("userid")!=null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%"+(String)searchMap.get("userid")+"%"));
}
// 回答人昵称
if (searchMap.get("nickname")!=null && !"".equals(searchMap.get("nickname"))) {
predicateList.add(cb.like(root.get("nickname").as(String.class), "%"+(String)searchMap.get("nickname")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Channel> createSpecification(Map searchMap) {
return new Specification<Channel>() {
@Override
public Predicate toPredicate(Root<Channel> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 频道名称
if (searchMap.get("name")!=null && !"".equals(searchMap.get("name"))) {
predicateList.add(cb.like(root.get("name").as(String.class), "%"+(String)searchMap.get("name")+"%"));
}
// 状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Admin> createSpecification(Map searchMap) {
return new Specification<Admin>() {
@Override
public Predicate toPredicate(Root<Admin> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 登陆名称
if (searchMap.get("loginname")!=null && !"".equals(searchMap.get("loginname"))) {
predicateList.add(cb.like(root.get("loginname").as(String.class), "%"+(String)searchMap.get("loginname")+"%"));
}
// 密码
if (searchMap.get("password")!=null && !"".equals(searchMap.get("password"))) {
predicateList.add(cb.like(root.get("password").as(String.class), "%"+(String)searchMap.get("password")+"%"));
}
// 状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Admin> createSpecification(Map searchMap) {
return new Specification<Admin>() {
@Override
public Predicate toPredicate(Root<Admin> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 登陆名称
if (searchMap.get("loginname")!=null && !"".equals(searchMap.get("loginname"))) {
predicateList.add(cb.like(root.get("loginname").as(String.class), "%"+(String)searchMap.get("loginname")+"%"));
}
// 密码
if (searchMap.get("password")!=null && !"".equals(searchMap.get("password"))) {
predicateList.add(cb.like(root.get("password").as(String.class), "%"+(String)searchMap.get("password")+"%"));
}
// 状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<NoticeFresh> createSpecificationWithFresh(Map searchMap) {
return new Specification<NoticeFresh>() {
//此处省略了关于创建时间的条件
@Override
public Predicate toPredicate(Root<NoticeFresh> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("userid") != null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%" + (String) searchMap.get("userid") + "%"));
}
if (searchMap.get("noticeid") != null && !"".equals(searchMap.get("noticeid"))) {
predicateList.add(cb.like(root.get("noticeid").as(String.class), "%" + (String) searchMap.get("noticeid") + "%"));
}
return cb.and(predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<Channel> createSpecification(Map searchMap) {
return new Specification<Channel>() {
@Override
public Predicate toPredicate(Root<Channel> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("id")!=null && !"".equals(searchMap.get("id"))) {
predicateList.add(cb.like(root.get("id").as(String.class), "%"+(String)searchMap.get("id")+"%"));
}
// 频道名称
if (searchMap.get("name")!=null && !"".equals(searchMap.get("name"))) {
predicateList.add(cb.like(root.get("name").as(String.class), "%"+(String)searchMap.get("name")+"%"));
}
// 状态
if (searchMap.get("state")!=null && !"".equals(searchMap.get("state"))) {
predicateList.add(cb.like(root.get("state").as(String.class), "%"+(String)searchMap.get("state")+"%"));
}
return cb.and( predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private Specification<NoticeFresh> createSpecificationWithFresh(Map searchMap) {
return new Specification<NoticeFresh>() {
//此处省略了关于创建时间的条件
@Override
public Predicate toPredicate(Root<NoticeFresh> root, CriteriaQuery<?> query, CriteriaBuilder cb) {
List<Predicate> predicateList = new ArrayList<Predicate>();
// ID
if (searchMap.get("userid") != null && !"".equals(searchMap.get("userid"))) {
predicateList.add(cb.like(root.get("userid").as(String.class), "%" + (String) searchMap.get("userid") + "%"));
}
if (searchMap.get("noticeid") != null && !"".equals(searchMap.get("noticeid"))) {
predicateList.add(cb.like(root.get("noticeid").as(String.class), "%" + (String) searchMap.get("noticeid") + "%"));
}
return cb.and(predicateList.toArray(new Predicate[predicateList.size()]));
}
};
}
private String processTag(final String s) {
// ending tags
Matcher m = P_END_TAG.matcher(s);
if (m.find()) {
final String name = m.group(1).toLowerCase();
if (allowed(name)) {
if (!inArray(name, vSelfClosingTags)) {
if (vTagCounts.containsKey(name)) {
vTagCounts.put(name, vTagCounts.get(name) - 1);
return "</" + name + ">";
}
}
}
}
// starting tags
m = P_START_TAG.matcher(s);
if (m.find()) {
final String name = m.group(1).toLowerCase();
final String body = m.group(2);
String ending = m.group(3);
//debug( "in a starting tag, name='" + name + "'; body='" + body + "'; ending='" + ending + "'" );
if (allowed(name)) {
String params = "";
final Matcher m2 = P_QUOTED_ATTRIBUTES.matcher(body);
final Matcher m3 = P_UNQUOTED_ATTRIBUTES.matcher(body);
final List<String> paramNames = new ArrayList<String>();
final List<String> paramValues = new ArrayList<String>();
while (m2.find()) {
paramNames.add(m2.group(1)); //([a-z0-9]+)
paramValues.add(m2.group(3)); //(.*?)
}
while (m3.find()) {
paramNames.add(m3.group(1)); //([a-z0-9]+)
paramValues.add(m3.group(3)); //([^\"\\s']+)
}
String paramName, paramValue;
for (int ii = 0; ii < paramNames.size(); ii++) {
paramName = paramNames.get(ii).toLowerCase();
paramValue = paramValues.get(ii);
// debug( "paramName='" + paramName + "'" );
// debug( "paramValue='" + paramValue + "'" );
// debug( "allowed? " + vAllowed.get( name ).contains( paramName ) );
if (allowedAttribute(name, paramName)) {
if (inArray(paramName, vProtocolAtts)) {
paramValue = processParamProtocol(paramValue);
}
params += " " + paramName + "=\"" + paramValue + "\"";
}
}
if (inArray(name, vSelfClosingTags)) {
ending = " /";
}
if (inArray(name, vNeedClosingTags)) {
ending = "";
}
if (ending == null || ending.length() < 1) {
if (vTagCounts.containsKey(name)) {
vTagCounts.put(name, vTagCounts.get(name) + 1);
} else {
vTagCounts.put(name, 1);
}
} else {
ending = " /";
}
return "<" + name + params + ending + ">";
} else {
return "";
}
}
// comments
m = P_COMMENT.matcher(s);
if (!stripComment && m.find()) {
return "<" + m.group() + ">";
}
return "";
}
private String processTag(final String s) {
// ending tags
Matcher m = P_END_TAG.matcher(s);
if (m.find()) {
final String name = m.group(1).toLowerCase();
if (allowed(name)) {
if (!inArray(name, vSelfClosingTags)) {
if (vTagCounts.containsKey(name)) {
vTagCounts.put(name, vTagCounts.get(name) - 1);
return "</" + name + ">";
}
}
}
}
// starting tags
m = P_START_TAG.matcher(s);
if (m.find()) {
final String name = m.group(1).toLowerCase();
final String body = m.group(2);
String ending = m.group(3);
//debug( "in a starting tag, name='" + name + "'; body='" + body + "'; ending='" + ending + "'" );
if (allowed(name)) {
String params = "";
final Matcher m2 = P_QUOTED_ATTRIBUTES.matcher(body);
final Matcher m3 = P_UNQUOTED_ATTRIBUTES.matcher(body);
final List<String> paramNames = new ArrayList<String>();
final List<String> paramValues = new ArrayList<String>();
while (m2.find()) {
paramNames.add(m2.group(1)); //([a-z0-9]+)
paramValues.add(m2.group(3)); //(.*?)
}
while (m3.find()) {
paramNames.add(m3.group(1)); //([a-z0-9]+)
paramValues.add(m3.group(3)); //([^\"\\s']+)
}
String paramName, paramValue;
for (int ii = 0; ii < paramNames.size(); ii++) {
paramName = paramNames.get(ii).toLowerCase();
paramValue = paramValues.get(ii);
// debug( "paramName='" + paramName + "'" );
// debug( "paramValue='" + paramValue + "'" );
// debug( "allowed? " + vAllowed.get( name ).contains( paramName ) );
if (allowedAttribute(name, paramName)) {
if (inArray(paramName, vProtocolAtts)) {
paramValue = processParamProtocol(paramValue);
}
params += " " + paramName + "=\"" + paramValue + "\"";
}
}
if (inArray(name, vSelfClosingTags)) {
ending = " /";
}
if (inArray(name, vNeedClosingTags)) {
ending = "";
}
if (ending == null || ending.length() < 1) {
if (vTagCounts.containsKey(name)) {
vTagCounts.put(name, vTagCounts.get(name) + 1);
} else {
vTagCounts.put(name, 1);
}
} else {
ending = " /";
}
return "<" + name + params + ending + ">";
} else {
return "";
}
}
// comments
m = P_COMMENT.matcher(s);
if (!stripComment && m.find()) {
return "<" + m.group() + ">";
}
return "";
}
public HTMLFilter() {
vAllowed = new HashMap<>();
final ArrayList<String> a_atts = new ArrayList<String>();
a_atts.add("href");
a_atts.add("target");
vAllowed.put("a", a_atts);
final ArrayList<String> img_atts = new ArrayList<String>();
img_atts.add("src");
img_atts.add("width");
img_atts.add("height");
img_atts.add("alt");
vAllowed.put("img", img_atts);
final ArrayList<String> no_atts = new ArrayList<String>();
vAllowed.put("b", no_atts);
vAllowed.put("strong", no_atts);
vAllowed.put("i", no_atts);
vAllowed.put("em", no_atts);
vSelfClosingTags = new String[]{"img"};
vNeedClosingTags = new String[]{"a", "b", "strong", "i", "em"};
vDisallowed = new String[]{};
vAllowedProtocols = new String[]{"http", "mailto", "https"}; // no ftp.
vProtocolAtts = new String[]{"src", "href"};
vRemoveBlanks = new String[]{"a", "b", "strong", "i", "em"};
vAllowedEntities = new String[]{"amp", "gt", "lt", "quot"};
stripComment = true;
encodeQuotes = true;
alwaysMakeTags = true;
}
public HTMLFilter() {
vAllowed = new HashMap<>();
final ArrayList<String> a_atts = new ArrayList<String>();
a_atts.add("href");
a_atts.add("target");
vAllowed.put("a", a_atts);
final ArrayList<String> img_atts = new ArrayList<String>();
img_atts.add("src");
img_atts.add("width");
img_atts.add("height");
img_atts.add("alt");
vAllowed.put("img", img_atts);
final ArrayList<String> no_atts = new ArrayList<String>();
vAllowed.put("b", no_atts);
vAllowed.put("strong", no_atts);
vAllowed.put("i", no_atts);
vAllowed.put("em", no_atts);
vSelfClosingTags = new String[]{"img"};
vNeedClosingTags = new String[]{"a", "b", "strong", "i", "em"};
vDisallowed = new String[]{};
vAllowedProtocols = new String[]{"http", "mailto", "https"}; // no ftp.
vProtocolAtts = new String[]{"src", "href"};
vRemoveBlanks = new String[]{"a", "b", "strong", "i", "em"};
vAllowedEntities = new String[]{"amp", "gt", "lt", "quot"};
stripComment = true;
encodeQuotes = true;
alwaysMakeTags = true;
}
private String decodeEntities(String s) {
StringBuffer buf = new StringBuffer();
Matcher m = P_ENTITY.matcher(s);
while (m.find()) {
final String match = m.group(1);
final int decimal = Integer.decode(match).intValue();
m.appendReplacement(buf, Matcher.quoteReplacement(chr(decimal)));
}
m.appendTail(buf);
s = buf.toString();
buf = new StringBuffer();
m = P_ENTITY_UNICODE.matcher(s);
while (m.find()) {
final String match = m.group(1);
final int decimal = Integer.valueOf(match, 16).intValue();
m.appendReplacement(buf, Matcher.quoteReplacement(chr(decimal)));
}
m.appendTail(buf);
s = buf.toString();
buf = new StringBuffer();
m = P_ENCODE.matcher(s);
while (m.find()) {
final String match = m.group(1);
final int decimal = Integer.valueOf(match, 16).intValue();
m.appendReplacement(buf, Matcher.quoteReplacement(chr(decimal)));
}
m.appendTail(buf);
s = buf.toString();
s = validateEntities(s);
return s;
}
private String decodeEntities(String s) {
StringBuffer buf = new StringBuffer();
Matcher m = P_ENTITY.matcher(s);
while (m.find()) {
final String match = m.group(1);
final int decimal = Integer.decode(match).intValue();
m.appendReplacement(buf, Matcher.quoteReplacement(chr(decimal)));
}
m.appendTail(buf);
s = buf.toString();
buf = new StringBuffer();
m = P_ENTITY_UNICODE.matcher(s);
while (m.find()) {
final String match = m.group(1);
final int decimal = Integer.valueOf(match, 16).intValue();
m.appendReplacement(buf, Matcher.quoteReplacement(chr(decimal)));
}
m.appendTail(buf);
s = buf.toString();
buf = new StringBuffer();
m = P_ENCODE.matcher(s);
while (m.find()) {
final String match = m.group(1);
final int decimal = Integer.valueOf(match, 16).intValue();
m.appendReplacement(buf, Matcher.quoteReplacement(chr(decimal)));
}
m.appendTail(buf);
s = buf.toString();
s = validateEntities(s);
return s;
}
public IPage<T> getPage(Map<String, Object> params, String defaultOrderField, boolean isAsc) {
//分页参数
long curPage = 1;
long limit = 10;
if(params.get(Constant.PAGE) != null){
curPage = Long.parseLong((String)params.get(Constant.PAGE));
}
if(params.get(Constant.LIMIT) != null){
limit = Long.parseLong((String)params.get(Constant.LIMIT));
}
//分页对象
Page<T> page = new Page<>(curPage, limit);
//分页参数
params.put(Constant.PAGE, page);
//排序字段
//防止SQL注入(因为sidx、order是通过拼接SQL实现排序的,会有SQL注入风险)
String orderField = SQLFilter.sqlInject((String)params.get(Constant.ORDER_FIELD));
String order = (String)params.get(Constant.ORDER);
//前端字段排序
if(StringUtils.isNotEmpty(orderField) && StringUtils.isNotEmpty(order)){
if(Constant.ASC.equalsIgnoreCase(order)) {
return page.addOrder(OrderItem.asc(orderField));
}else {
return page.addOrder(OrderItem.desc(orderField));
}
}
//没有排序字段,则不排序
if(StringUtils.isBlank(defaultOrderField)){
return page;
}
//默认排序
if(isAsc) {
page.addOrder(OrderItem.asc(defaultOrderField));
}else {
page.addOrder(OrderItem.desc(defaultOrderField));
}
return page;
}
public IPage<T> getPage(Map<String, Object> params, String defaultOrderField, boolean isAsc) {
//分页参数
long curPage = 1;
long limit = 10;
if(params.get(Constant.PAGE) != null){
curPage = Long.parseLong((String)params.get(Constant.PAGE));
}
if(params.get(Constant.LIMIT) != null){
limit = Long.parseLong((String)params.get(Constant.LIMIT));
}
//分页对象
Page<T> page = new Page<>(curPage, limit);
//分页参数
params.put(Constant.PAGE, page);
//排序字段
//防止SQL注入(因为sidx、order是通过拼接SQL实现排序的,会有SQL注入风险)
String orderField = SQLFilter.sqlInject((String)params.get(Constant.ORDER_FIELD));
String order = (String)params.get(Constant.ORDER);
//前端字段排序
if(StringUtils.isNotEmpty(orderField) && StringUtils.isNotEmpty(order)){
if(Constant.ASC.equalsIgnoreCase(order)) {
return page.addOrder(OrderItem.asc(orderField));
}else {
return page.addOrder(OrderItem.desc(orderField));
}
}
//没有排序字段,则不排序
if(StringUtils.isBlank(defaultOrderField)){
return page;
}
//默认排序
if(isAsc) {
page.addOrder(OrderItem.asc(defaultOrderField));
}else {
page.addOrder(OrderItem.desc(defaultOrderField));
}
return page;
}
public HTMLFilter(final Map<String,Object> conf) {
assert conf.containsKey("vAllowed") : "configuration requires vAllowed";
assert conf.containsKey("vSelfClosingTags") : "configuration requires vSelfClosingTags";
assert conf.containsKey("vNeedClosingTags") : "configuration requires vNeedClosingTags";
assert conf.containsKey("vDisallowed") : "configuration requires vDisallowed";
assert conf.containsKey("vAllowedProtocols") : "configuration requires vAllowedProtocols";
assert conf.containsKey("vProtocolAtts") : "configuration requires vProtocolAtts";
assert conf.containsKey("vRemoveBlanks") : "configuration requires vRemoveBlanks";
assert conf.containsKey("vAllowedEntities") : "configuration requires vAllowedEntities";
vAllowed = Collections.unmodifiableMap((HashMap<String, List<String>>) conf.get("vAllowed"));
vSelfClosingTags = (String[]) conf.get("vSelfClosingTags");
vNeedClosingTags = (String[]) conf.get("vNeedClosingTags");
vDisallowed = (String[]) conf.get("vDisallowed");
vAllowedProtocols = (String[]) conf.get("vAllowedProtocols");
vProtocolAtts = (String[]) conf.get("vProtocolAtts");
vRemoveBlanks = (String[]) conf.get("vRemoveBlanks");
vAllowedEntities = (String[]) conf.get("vAllowedEntities");
stripComment = conf.containsKey("stripComment") ? (Boolean) conf.get("stripComment") : true;
encodeQuotes = conf.containsKey("encodeQuotes") ? (Boolean) conf.get("encodeQuotes") : true;
alwaysMakeTags = conf.containsKey("alwaysMakeTags") ? (Boolean) conf.get("alwaysMakeTags") : true;
}
public HTMLFilter(final Map<String,Object> conf) {
assert conf.containsKey("vAllowed") : "configuration requires vAllowed";
assert conf.containsKey("vSelfClosingTags") : "configuration requires vSelfClosingTags";
assert conf.containsKey("vNeedClosingTags") : "configuration requires vNeedClosingTags";
assert conf.containsKey("vDisallowed") : "configuration requires vDisallowed";
assert conf.containsKey("vAllowedProtocols") : "configuration requires vAllowedProtocols";
assert conf.containsKey("vProtocolAtts") : "configuration requires vProtocolAtts";
assert conf.containsKey("vRemoveBlanks") : "configuration requires vRemoveBlanks";
assert conf.containsKey("vAllowedEntities") : "configuration requires vAllowedEntities";
vAllowed = Collections.unmodifiableMap((HashMap<String, List<String>>) conf.get("vAllowed"));
vSelfClosingTags = (String[]) conf.get("vSelfClosingTags");
vNeedClosingTags = (String[]) conf.get("vNeedClosingTags");
vDisallowed = (String[]) conf.get("vDisallowed");
vAllowedProtocols = (String[]) conf.get("vAllowedProtocols");
vProtocolAtts = (String[]) conf.get("vProtocolAtts");
vRemoveBlanks = (String[]) conf.get("vRemoveBlanks");
vAllowedEntities = (String[]) conf.get("vAllowedEntities");
stripComment = conf.containsKey("stripComment") ? (Boolean) conf.get("stripComment") : true;
encodeQuotes = conf.containsKey("encodeQuotes") ? (Boolean) conf.get("encodeQuotes") : true;
alwaysMakeTags = conf.containsKey("alwaysMakeTags") ? (Boolean) conf.get("alwaysMakeTags") : true;
}
public String filter(final String input) {
reset();
String s = input;
debug("************************************************");
debug(" INPUT: " + input);
s = escapeComments(s);
debug(" escapeComments: " + s);
s = balanceHTML(s);
debug(" balanceHTML: " + s);
s = checkTags(s);
debug(" checkTags: " + s);
s = processRemoveBlanks(s);
debug("processRemoveBlanks: " + s);
s = validateEntities(s);
debug(" validateEntites: " + s);
debug("************************************************\n\n");
return s;
}
public String filter(final String input) {
reset();
String s = input;
debug("************************************************");
debug(" INPUT: " + input);
s = escapeComments(s);
debug(" escapeComments: " + s);
s = balanceHTML(s);
debug(" balanceHTML: " + s);
s = checkTags(s);
debug(" checkTags: " + s);
s = processRemoveBlanks(s);
debug("processRemoveBlanks: " + s);
s = validateEntities(s);
debug(" validateEntites: " + s);
debug("************************************************\n\n");
return s;
}
public static String sqlInject(String str){
if(StringUtils.isBlank(str)){
return null;
}
//去掉'|"|;|\字符
str = StringUtils.replace(str, "'", "");
str = StringUtils.replace(str, "\"", "");
str = StringUtils.replace(str, ";", "");
str = StringUtils.replace(str, "\\", "");
//转换成小写
str = str.toLowerCase();
//非法字符
String[] keywords = {"master", "truncate", "insert", "select", "delete", "update", "declare", "alter", "drop"};
//判断是否包含非法字符
for(String keyword : keywords){
if(str.indexOf(keyword) != -1){
throw new RRException("包含非法字符");
}
}
return str;
}
public static String sqlInject(String str){
if(StringUtils.isBlank(str)){
return null;
}
//去掉'|"|;|\字符
str = StringUtils.replace(str, "'", "");
str = StringUtils.replace(str, "\"", "");
str = StringUtils.replace(str, ";", "");
str = StringUtils.replace(str, "\\", "");
//转换成小写
str = str.toLowerCase();
//非法字符
String[] keywords = {"master", "truncate", "insert", "select", "delete", "update", "declare", "alter", "drop"};
//判断是否包含非法字符
for(String keyword : keywords){
if(str.indexOf(keyword) != -1){
throw new RRException("包含非法字符");
}
}
return str;
}
private String encodeQuotes(final String s){
if(encodeQuotes){
StringBuffer buf = new StringBuffer();
Matcher m = P_VALID_QUOTES.matcher(s);
while (m.find()) {
final String one = m.group(1); //(>|^)
final String two = m.group(2); //([^<]+?)
final String three = m.group(3); //(<|$)
m.appendReplacement(buf, Matcher.quoteReplacement(one + regexReplace(P_QUOTE, """, two) + three));
}
m.appendTail(buf);
return buf.toString();
}else{
return s;
}
}
private String encodeQuotes(final String s){
if(encodeQuotes){
StringBuffer buf = new StringBuffer();
Matcher m = P_VALID_QUOTES.matcher(s);
while (m.find()) {
final String one = m.group(1); //(>|^)
final String two = m.group(2); //([^<]+?)
final String three = m.group(3); //(<|$)
m.appendReplacement(buf, Matcher.quoteReplacement(one + regexReplace(P_QUOTE, """, two) + three));
}
m.appendTail(buf);
return buf.toString();
}else{
return s;
}
}
private String checkTags(String s) {
Matcher m = P_TAGS.matcher(s);
final StringBuffer buf = new StringBuffer();
while (m.find()) {
String replaceStr = m.group(1);
replaceStr = processTag(replaceStr);
m.appendReplacement(buf, Matcher.quoteReplacement(replaceStr));
}
m.appendTail(buf);
s = buf.toString();
// these get tallied in processTag
// (remember to reset before subsequent calls to filter method)
for (String key : vTagCounts.keySet()) {
for (int ii = 0; ii < vTagCounts.get(key); ii++) {
s += "</" + key + ">";
}
}
return s;
}
private String checkTags(String s) {
Matcher m = P_TAGS.matcher(s);
final StringBuffer buf = new StringBuffer();
while (m.find()) {
String replaceStr = m.group(1);
replaceStr = processTag(replaceStr);
m.appendReplacement(buf, Matcher.quoteReplacement(replaceStr));
}
m.appendTail(buf);
s = buf.toString();
// these get tallied in processTag
// (remember to reset before subsequent calls to filter method)
for (String key : vTagCounts.keySet()) {
for (int ii = 0; ii < vTagCounts.get(key); ii++) {
s += "</" + key + ">";
}
}
return s;
}
private String processParamProtocol(String s) {
s = decodeEntities(s);
final Matcher m = P_PROTOCOL.matcher(s);
if (m.find()) {
final String protocol = m.group(1);
if (!inArray(protocol, vAllowedProtocols)) {
// bad protocol, turn into local anchor link instead
s = "#" + s.substring(protocol.length() + 1, s.length());
if (s.startsWith("#//")) {
s = "#" + s.substring(3, s.length());
}
}
}
return s;
}
private String processParamProtocol(String s) {
s = decodeEntities(s);
final Matcher m = P_PROTOCOL.matcher(s);
if (m.find()) {
final String protocol = m.group(1);
if (!inArray(protocol, vAllowedProtocols)) {
// bad protocol, turn into local anchor link instead
s = "#" + s.substring(protocol.length() + 1, s.length());
if (s.startsWith("#//")) {
s = "#" + s.substring(3, s.length());
}
}
}
return s;
}
private String processRemoveBlanks(final String s) {
String result = s;
for (String tag : vRemoveBlanks) {
if(!P_REMOVE_PAIR_BLANKS.containsKey(tag)){
P_REMOVE_PAIR_BLANKS.putIfAbsent(tag, Pattern.compile("<" + tag + "(\\s[^>]*)?></" + tag + ">"));
}
result = regexReplace(P_REMOVE_PAIR_BLANKS.get(tag), "", result);
if(!P_REMOVE_SELF_BLANKS.containsKey(tag)){
P_REMOVE_SELF_BLANKS.putIfAbsent(tag, Pattern.compile("<" + tag + "(\\s[^>]*)?/>"));
}
result = regexReplace(P_REMOVE_SELF_BLANKS.get(tag), "", result);
}
return result;
}
private String processRemoveBlanks(final String s) {
String result = s;
for (String tag : vRemoveBlanks) {
if(!P_REMOVE_PAIR_BLANKS.containsKey(tag)){
P_REMOVE_PAIR_BLANKS.putIfAbsent(tag, Pattern.compile("<" + tag + "(\\s[^>]*)?></" + tag + ">"));
}
result = regexReplace(P_REMOVE_PAIR_BLANKS.get(tag), "", result);
if(!P_REMOVE_SELF_BLANKS.containsKey(tag)){
P_REMOVE_SELF_BLANKS.putIfAbsent(tag, Pattern.compile("<" + tag + "(\\s[^>]*)?/>"));
}
result = regexReplace(P_REMOVE_SELF_BLANKS.get(tag), "", result);
}
return result;
}
private String balanceHTML(String s) {
if (alwaysMakeTags) {
//
// try and form html
//
s = regexReplace(P_END_ARROW, "", s);
s = regexReplace(P_BODY_TO_END, "<$1>", s);
s = regexReplace(P_XML_CONTENT, "$1<$2", s);
} else {
//
// escape stray brackets
//
s = regexReplace(P_STRAY_LEFT_ARROW, "<$1", s);
s = regexReplace(P_STRAY_RIGHT_ARROW, "$1$2><", s);
//
// the last regexp causes '<>' entities to appear
// (we need to do a lookahead assertion so that the last bracket can
// be used in the next pass of the regexp)
//
s = regexReplace(P_BOTH_ARROWS, "", s);
}
return s;
}
private String balanceHTML(String s) {
if (alwaysMakeTags) {
//
// try and form html
//
s = regexReplace(P_END_ARROW, "", s);
s = regexReplace(P_BODY_TO_END, "<$1>", s);
s = regexReplace(P_XML_CONTENT, "$1<$2", s);
} else {
//
// escape stray brackets
//
s = regexReplace(P_STRAY_LEFT_ARROW, "<$1", s);
s = regexReplace(P_STRAY_RIGHT_ARROW, "$1$2><", s);
//
// the last regexp causes '<>' entities to appear
// (we need to do a lookahead assertion so that the last bracket can
// be used in the next pass of the regexp)
//
s = regexReplace(P_BOTH_ARROWS, "", s);
}
return s;
}
private String validateEntities(final String s) {
StringBuffer buf = new StringBuffer();
// validate entities throughout the string
Matcher m = P_VALID_ENTITIES.matcher(s);
while (m.find()) {
final String one = m.group(1); //([^&;]*)
final String two = m.group(2); //(?=(;|&|$))
m.appendReplacement(buf, Matcher.quoteReplacement(checkEntity(one, two)));
}
m.appendTail(buf);
return encodeQuotes(buf.toString());
}
private String validateEntities(final String s) {
StringBuffer buf = new StringBuffer();
// validate entities throughout the string
Matcher m = P_VALID_ENTITIES.matcher(s);
while (m.find()) {
final String one = m.group(1); //([^&;]*)
final String two = m.group(2); //(?=(;|&|$))
m.appendReplacement(buf, Matcher.quoteReplacement(checkEntity(one, two)));
}
m.appendTail(buf);
return encodeQuotes(buf.toString());
}
private String escapeComments(final String s) {
final Matcher m = P_COMMENTS.matcher(s);
final StringBuffer buf = new StringBuffer();
if (m.find()) {
final String match = m.group(1); //(.*?)
m.appendReplacement(buf, Matcher.quoteReplacement("<!--" + htmlSpecialChars(match) + "-->"));
}
m.appendTail(buf);
return buf.toString();
}
private String escapeComments(final String s) {
final Matcher m = P_COMMENTS.matcher(s);
final StringBuffer buf = new StringBuffer();
if (m.find()) {
final String match = m.group(1); //(.*?)
m.appendReplacement(buf, Matcher.quoteReplacement("<!--" + htmlSpecialChars(match) + "-->"));
}
m.appendTail(buf);
return buf.toString();
}
public UserSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public WareSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public WareSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public ThirdSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public WareSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SeckillSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public WareSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SearchSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public WareSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public OrderSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public WareSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public Oauth2SentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public WareSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public GoodsSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CouponSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public WareSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public WareSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CartSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public UserSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public ThirdSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public UserSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SeckillSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public UserSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SearchSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public UserSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public OrderSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public UserSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public Oauth2SentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public UserSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public GoodsSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CouponSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public UserSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public UserSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CartSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SeckillSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public ThirdSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SearchSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public ThirdSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public ThirdSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public OrderSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public ThirdSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public Oauth2SentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public ThirdSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public GoodsSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CouponSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public ThirdSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public ThirdSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CartSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SeckillSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SearchSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SeckillSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public OrderSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SeckillSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public Oauth2SentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SeckillSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public GoodsSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CouponSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SeckillSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SeckillSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CartSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SearchSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public OrderSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SearchSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public Oauth2SentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SearchSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public GoodsSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CouponSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SearchSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public SearchSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CartSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public OrderSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public Oauth2SentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public GoodsSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public OrderSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CouponSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public OrderSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CartSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public OrderSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public GoodsSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public Oauth2SentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CouponSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public Oauth2SentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CartSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public Oauth2SentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CouponSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public GoodsSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public GoodsSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CartSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CouponSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public CartSentinelConfig(){
WebCallbackManager.setUrlBlockHandler(new UrlBlockHandler() {
@Override
public void blocked(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, BlockException e) throws IOException {
R error = R.error(BizCodeEnume.TOO_MANY_REQUEST.getCode(), BizCodeEnume.TOO_MANY_REQUEST.getMsg());
httpServletResponse.setCharacterEncoding("UTF-8");
httpServletResponse.setContentType("application");
httpServletResponse.getWriter().write(JSON.toJSONString(error));
}
});
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
/***
* 拦截秒杀系统的个别请求,进行登陆检查
* 其他的放行
*/
String uri = request.getRequestURI();
AntPathMatcher antPathMatcher = new AntPathMatcher();
boolean match = antPathMatcher.match("/seckill/kill", uri);
if (match){
UserResponseVo userResponseVo = (UserResponseVo) request.getSession().getAttribute(AuthConstant.LOGIN_USER);
if (userResponseVo != null){
//全系统共享
loginUser.set(userResponseVo);
return true;
}else {
//没登陆,拦截,重定向到登录页面
request.getSession().setAttribute("msg","请先登录!");
response.sendRedirect("http://auth.tesco.com/login.html");
return false;
}
}
return true;
}
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
/***
* 放行库存系统的个别请求
*/
String uri = request.getRequestURI();
AntPathMatcher antPathMatcher = new AntPathMatcher();
boolean match = antPathMatcher.match("/order/orders/status/**", uri);
//放行支付成功异步通知回调
boolean match1 = antPathMatcher.match("/payed/notify", uri);
if (match || match1){
return true;
}
UserResponseVo userResponseVo = (UserResponseVo) request.getSession().getAttribute(AuthConstant.LOGIN_USER);
if (userResponseVo != null){
//全系统共享
loginUser.set(userResponseVo);
return true;
}else {
//没登陆,拦截,重定向到登录页面
request.getSession().setAttribute("msg","请先登录!");
response.sendRedirect("http://auth.tesco.com/login.html");
return false;
}
}
public void handleStockRelease(StockLockedTo stockLockedTo, Message message, Channel channel) throws IOException {
System.out.println("收到解锁库存的消息");
try {
wareSkuService.unLockStock(stockLockedTo);
//执行成功,回复mq消息消费成功
channel.basicAck(message.getMessageProperties().getDeliveryTag(),false);
}catch (Exception e){
System.out.println("错误:"+e.getMessage());
//只要出现异常,消息重新入队
channel.basicReject(message.getMessageProperties().getDeliveryTag(),true);
}
}
public void handleCloseOrder(OrdersEntity ordersEntity, Channel channel, Message message) throws IOException {
System.out.println("收到过期的订单信息,准备关闭订单"+ordersEntity.getOrderSn());
try {
ordersService.closeOrder(ordersEntity);
//TODO 手动调用支付宝收单(防止时延造成订单已解锁,支付仍在进行)
//执行成功,回复mq消息消费成功
channel.basicAck(message.getMessageProperties().getDeliveryTag(),false);
}catch (Exception e){
System.out.println("错误:"+e.getMessage());
//只要出现异常,消息重新入队
channel.basicReject(message.getMessageProperties().getDeliveryTag(),true);
}
}
public void handleCloseOrderRelease(OrderTo orderTo, Message message, Channel channel) throws IOException {
System.out.println("收到订单关闭的消息,准备解锁库存");
try {
wareSkuService.unLockStock(orderTo);
//执行成功,回复mq消息消费成功
channel.basicAck(message.getMessageProperties().getDeliveryTag(),false);
}catch (Exception e){
System.out.println("错误:"+e.getMessage());
//只要出现异常,消息重新入队
channel.basicReject(message.getMessageProperties().getDeliveryTag(),true);
}
}
public void handleCloseOrder(OrdersEntity ordersEntity, Channel channel, Message message) throws IOException {
System.out.println("收到过期的订单信息,准备关闭订单"+ordersEntity.getOrderSn());
try {
ordersService.closeOrder(ordersEntity);
//TODO 手动调用支付宝收单(防止时延造成订单已解锁,支付仍在进行)
//执行成功,回复mq消息消费成功
channel.basicAck(message.getMessageProperties().getDeliveryTag(),false);
}catch (Exception e){
System.out.println("错误:"+e.getMessage());
//只要出现异常,消息重新入队
channel.basicReject(message.getMessageProperties().getDeliveryTag(),true);
}
}
public void handleStockRelease(StockLockedTo stockLockedTo, Message message, Channel channel) throws IOException {
System.out.println("收到解锁库存的消息");
try {
wareSkuService.unLockStock(stockLockedTo);
//执行成功,回复mq消息消费成功
channel.basicAck(message.getMessageProperties().getDeliveryTag(),false);
}catch (Exception e){
System.out.println("错误:"+e.getMessage());
//只要出现异常,消息重新入队
channel.basicReject(message.getMessageProperties().getDeliveryTag(),true);
}
}
public void handleCloseOrder(SeckillOrderTo seckillOrderTo, Channel channel, Message message) throws IOException {
System.out.println("准备创建秒杀订单"+seckillOrderTo.getOrderSn()+"的详细信息");
try {
ordersService.createSeckillOrder(seckillOrderTo);
//执行成功,回复mq消息消费成功
channel.basicAck(message.getMessageProperties().getDeliveryTag(),false);
}catch (Exception e){
System.out.println("错误:"+e.getMessage());
//只要出现异常,消息重新入队
channel.basicReject(message.getMessageProperties().getDeliveryTag(),true);
}
}
public void handleCloseOrderRelease(OrderTo orderTo, Message message, Channel channel) throws IOException {
System.out.println("收到订单关闭的消息,准备解锁库存");
try {
wareSkuService.unLockStock(orderTo);
//执行成功,回复mq消息消费成功
channel.basicAck(message.getMessageProperties().getDeliveryTag(),false);
}catch (Exception e){
System.out.println("错误:"+e.getMessage());
//只要出现异常,消息重新入队
channel.basicReject(message.getMessageProperties().getDeliveryTag(),true);
}
}
public void handleCloseOrder(SeckillOrderTo seckillOrderTo, Channel channel, Message message) throws IOException {
System.out.println("准备创建秒杀订单"+seckillOrderTo.getOrderSn()+"的详细信息");
try {
ordersService.createSeckillOrder(seckillOrderTo);
//执行成功,回复mq消息消费成功
channel.basicAck(message.getMessageProperties().getDeliveryTag(),false);
}catch (Exception e){
System.out.println("错误:"+e.getMessage());
//只要出现异常,消息重新入队
channel.basicReject(message.getMessageProperties().getDeliveryTag(),true);
}
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "上海";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "上海";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public SoldTicket(){
noSeat = 0;
businessSeat = 0;
firstClassSeat = 0;
secondClassSeat = 0;
hardSeat = 0;
softSeat = 0;
hardBed = 0;
softBed = 0;
highSoftBed = 0;
}
public SoldTicket(){
noSeat = 0;
businessSeat = 0;
firstClassSeat = 0;
secondClassSeat = 0;
hardSeat = 0;
softSeat = 0;
hardBed = 0;
softBed = 0;
highSoftBed = 0;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId.equals(other.getAccountId())
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId.equals(other.getAccountId())
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId.equals(other.getAccountId())
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId.equals(other.getAccountId())
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId.equals(other.getAccountId())
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber.equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId.equals(other.getAccountId())
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber.equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId.equals(other.getAccountId())
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber.equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId.equals(other.getAccountId())
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber.equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
private static Map<String,Cookie> readCookieMap(HttpServletRequest request){
Map<String,Cookie> cookieMap = new HashMap<>();
Cookie[] cookies = request.getCookies();
if(null!=cookies){
for(Cookie cookie : cookies){
cookieMap.put(cookie.getName(), cookie);
}
}
return cookieMap;
}
private static Map<String,Cookie> readCookieMap(HttpServletRequest request){
Map<String,Cookie> cookieMap = new HashMap<>();
Cookie[] cookies = request.getCookies();
if(null!=cookies){
for(Cookie cookie : cookies){
cookieMap.put(cookie.getName(), cookie);
}
}
return cookieMap;
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = TrainTypeEnum.G;
break;
case 'D': this.type = TrainTypeEnum.D;
break;
case 'Z': this.type = TrainTypeEnum.Z;
break;
case 'T': this.type = TrainTypeEnum.T;
break;
case 'K': this.type = TrainTypeEnum.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = TrainTypeEnum.G;
break;
case 'D': this.type = TrainTypeEnum.D;
break;
case 'Z': this.type = TrainTypeEnum.Z;
break;
case 'T': this.type = TrainTypeEnum.T;
break;
case 'K': this.type = TrainTypeEnum.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = TrainTypeEnum.G;
break;
case 'D': this.type = TrainTypeEnum.D;
break;
case 'Z': this.type = TrainTypeEnum.Z;
break;
case 'T': this.type = TrainTypeEnum.T;
break;
case 'K': this.type = TrainTypeEnum.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = TrainTypeEnum.G;
break;
case 'D': this.type = TrainTypeEnum.D;
break;
case 'Z': this.type = TrainTypeEnum.Z;
break;
case 'T': this.type = TrainTypeEnum.T;
break;
case 'K': this.type = TrainTypeEnum.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = TrainTypeEnum.G;
break;
case 'D': this.type = TrainTypeEnum.D;
break;
case 'Z': this.type = TrainTypeEnum.Z;
break;
case 'T': this.type = TrainTypeEnum.T;
break;
case 'K': this.type = TrainTypeEnum.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public void testGetAllOrders2() {
ArrayList<Order> orders = new ArrayList<>();
orders.add(new Order());
Response<ArrayList<Order>> response = new Response<>(1, null, orders);
ResponseEntity<Response<ArrayList<Order>>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<ArrayList<Order>>>() {
})).thenReturn(re);
Mockito.when(restTemplate.exchange(
"http://ts-order-other-service:12032/api/v1/orderOtherService/orderOther",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<ArrayList<Order>>>() {
})).thenReturn(re);
Response result = adminOrderService.getAllOrders(headers);
Assert.assertNotNull(result);
}
public void testGetAllTravels2() {
ArrayList<AdminTrip> adminTrips = new ArrayList<>();
adminTrips.add(new AdminTrip());
Response<ArrayList<AdminTrip>> response = new Response<>(1, null, adminTrips);
ResponseEntity<Response<ArrayList<AdminTrip>>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-travel-service:12346/api/v1/travelservice/admin_trip",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<ArrayList<AdminTrip>>>() {
})).thenReturn(re);
Mockito.when(restTemplate.exchange(
"http://ts-travel2-service:16346/api/v1/travel2service/admin_trip",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<ArrayList<AdminTrip>>>() {
})).thenReturn(re);
Response result = adminTravelServiceImpl.getAllTravels(headers);
Assert.assertNotNull(result);
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "1";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "上海";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "上海";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "1";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "上海";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "上海";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "1";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "上海";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "上海";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "上海";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "1";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "1";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "上海";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Response query(HttpHeaders headers) {
List<Station> stations = repository.findAll();
if (stations != null && !stations.isEmpty()) {
return new Response<>(1, "Find all content", stations);
} else {
StationServiceImpl.LOGGER.warn("Query stations warn.Find all stations: {}","No content");
return new Response<>(0, "No content", null);
}
}
public Response query(HttpHeaders headers){
List<Payment> payments = paymentRepository.findAll();
if(payments!= null && !payments.isEmpty()){
return new Response<>(1,"Query Success", payments);
}else {
PaymentServiceImpl.LOGGER.warn("Find all payment warn: {}","No content");
return new Response<>(0, "No Content", null);
}
}
public Response query(HttpHeaders headers) {
List<Station> stations = repository.findAll();
if (stations != null && !stations.isEmpty()) {
return new Response<>(1, "Find all content", stations);
} else {
StationServiceImpl.LOGGER.warn("Query stations warn.Find all stations: {}","No content");
return new Response<>(0, "No content", null);
}
}
public Response getAllOrders(HttpHeaders headers) {
ArrayList<Order> orders = orderRepository.findAll();
if (orders != null && !orders.isEmpty()) {
return new Response<>(1, "Success.", orders);
} else {
OrderServiceImpl.LOGGER.warn("Find all orders warn: {}","No content");
return new Response<>(0, "No Content.", null);
}
}
public Response query(HttpHeaders headers){
List<Payment> payments = paymentRepository.findAll();
if(payments!= null && !payments.isEmpty()){
return new Response<>(1,"Query Success", payments);
}else {
PaymentServiceImpl.LOGGER.warn("Find all payment warn: {}","No content");
return new Response<>(0, "No Content", null);
}
}
public Response getAllOrders(HttpHeaders headers) {
ArrayList<Order> orders = orderRepository.findAll();
if (orders != null && !orders.isEmpty()) {
return new Response<>(1, "Success.", orders);
} else {
OrderServiceImpl.LOGGER.warn("Find all orders warn: {}","No content");
return new Response<>(0, "No Content.", null);
}
}
public Response findAllFoodOrder(HttpHeaders headers) {
List<FoodOrder> foodOrders = foodOrderRepository.findAll();
if (foodOrders != null && !foodOrders.isEmpty()) {
return new Response<>(1, success, foodOrders);
} else {
FoodServiceImpl.LOGGER.error("Find all food order error: {}", "No Content");
return new Response<>(0, "No Content", null);
}
}
public Response getAllRoutes(HttpHeaders headers) {
ArrayList<Route> routes = routeRepository.findAll();
if (routes != null && !routes.isEmpty()) {
return new Response<>(1, success, routes);
} else {
RouteServiceImpl.LOGGER.warn("Find all routes warn: {}","No Content");
return new Response<>(0, "No Content", null);
}
}
public Response getAllRoutes(HttpHeaders headers) {
ArrayList<Route> routes = routeRepository.findAll();
if (routes != null && !routes.isEmpty()) {
return new Response<>(1, success, routes);
} else {
RouteServiceImpl.LOGGER.warn("Find all routes warn: {}","No Content");
return new Response<>(0, "No Content", null);
}
}
public Response listFoodStores(HttpHeaders headers) {
List<FoodStore> foodStores = foodStoreRepository.findAll();
if (foodStores != null && !foodStores.isEmpty()) {
return new Response<>(1, success, foodStores);
} else {
FoodMapServiceImpl.LOGGER.error("List food stores error: {}", "Food store is empty");
return new Response<>(0, "Food store is empty", null);
}
}
public Response findAllFoodOrder(HttpHeaders headers) {
List<FoodOrder> foodOrders = foodOrderRepository.findAll();
if (foodOrders != null && !foodOrders.isEmpty()) {
return new Response<>(1, success, foodOrders);
} else {
FoodServiceImpl.LOGGER.error("Find all food order error: {}", "No Content");
return new Response<>(0, "No Content", null);
}
}
public Response listFoodStores(HttpHeaders headers) {
List<FoodStore> foodStores = foodStoreRepository.findAll();
if (foodStores != null && !foodStores.isEmpty()) {
return new Response<>(1, success, foodStores);
} else {
FoodMapServiceImpl.LOGGER.error("List food stores error: {}", "Food store is empty");
return new Response<>(0, "Food store is empty", null);
}
}
public Response getRouteById(String routeId, HttpHeaders headers) {
Route route = routeRepository.findById(routeId);
if (route == null) {
RouteServiceImpl.LOGGER.error("Find route error.Route not found,RouteId: {}",routeId);
return new Response<>(0, "No content with the routeId", null);
} else {
return new Response<>(1, success, route);
}
}
public Response findOrderById(UUID id, HttpHeaders headers) {
Order order = orderRepository.findById(id);
if (order == null) {
OrderServiceImpl.LOGGER.error("No content, id: {}",id);
return new Response<>(0, "No Content by this id", null);
} else {
return new Response<>(1, success, order);
}
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = TrainTypeEnum.G;
break;
case 'D': this.type = TrainTypeEnum.D;
break;
case 'Z': this.type = TrainTypeEnum.Z;
break;
case 'T': this.type = TrainTypeEnum.T;
break;
case 'K': this.type = TrainTypeEnum.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'G': this.type = Type.G;
break;
case 'D': this.type = Type.D;
break;
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber){
char type0 = trainNumber.charAt(0);
switch(type0){
case 'Z': this.type = Type.Z;
break;
case 'T': this.type = Type.T;
break;
case 'K': this.type = Type.K;
break;
default:break;
}
this.number = trainNumber.substring(1);
}
public TripId(String trainNumber) {
char type0 = trainNumber.charAt(0);
switch (type0) {
case 'G':
this.type = Type.G;
break;
case 'D':
this.type = Type.D;
break;
default:
break;
}
this.number = trainNumber.substring(1);
}
public void testTicketCollect2() {
//mock getOrderByIdFromOrder(
Response<Order> response = new Response<>(0, null, null);
ResponseEntity<Response<Order>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re);
//mock getOrderByIdFromOrderOther()
Order order = new Order();
order.setStatus(1);
Response<Order> response2 = new Response<>(1, null, order);
ResponseEntity<Response<Order>> re2 = new ResponseEntity<>(response2, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-other-service:12032/api/v1/orderOtherService/orderOther/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re2);
//mock executeOrderOther()
Response response3 = new Response(1, null, null);
ResponseEntity<Response> re3 = new ResponseEntity<>(response3, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-other-service:12032/api/v1/orderOtherService/orderOther/status/" + "order_id" + "/" + 2,
HttpMethod.GET,
requestEntity,
Response.class)).thenReturn(re3);
Response result = executeServiceImpl.ticketCollect("order_id", headers);
Assert.assertEquals(new Response<>(1, "Success.", null), result);
}
public void testCancelOrder2() {
//mock getOrderByIdFromOrder()
Response<Order> response = new Response<>(0, null, null);
ResponseEntity<Response<Order>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re);
//mock getOrderByIdFromOrderOther()
Order order = new Order();
order.setStatus(6);
Response<Order> response2 = new Response<>(1, null, order);
ResponseEntity<Response<Order>> re2 = new ResponseEntity<>(response2, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-other-service:12032/api/v1/orderOtherService/orderOther/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re2);
Response result = cancelServiceImpl.cancelOrder("order_id", "login_id", headers);
Assert.assertEquals(new Response<>(0, "Order Status Cancel Not Permitted", null), result);
}
public void testTicketCollect2() {
//mock getOrderByIdFromOrder(
Response<Order> response = new Response<>(0, null, null);
ResponseEntity<Response<Order>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re);
//mock getOrderByIdFromOrderOther()
Order order = new Order();
order.setStatus(1);
Response<Order> response2 = new Response<>(1, null, order);
ResponseEntity<Response<Order>> re2 = new ResponseEntity<>(response2, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-other-service:12032/api/v1/orderOtherService/orderOther/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re2);
//mock executeOrderOther()
Response response3 = new Response(1, null, null);
ResponseEntity<Response> re3 = new ResponseEntity<>(response3, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-other-service:12032/api/v1/orderOtherService/orderOther/status/" + "order_id" + "/" + 2,
HttpMethod.GET,
requestEntity,
Response.class)).thenReturn(re3);
Response result = executeServiceImpl.ticketCollect("order_id", headers);
Assert.assertEquals(new Response<>(1, "Success.", null), result);
}
public void testCalculateRefund2() {
//mock getOrderByIdFromOrder()
Response<Order> response = new Response<>(0, null, null);
ResponseEntity<Response<Order>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re);
//mock getOrderByIdFromOrderOther()
Order order = new Order();
order.setStatus(6);
Response<Order> response2 = new Response<>(1, null, order);
ResponseEntity<Response<Order>> re2 = new ResponseEntity<>(response2, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-other-service:12032/api/v1/orderOtherService/orderOther/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re2);
Response result = cancelServiceImpl.calculateRefund("order_id", headers);
Assert.assertEquals(new Response<>(0, "Order Status Cancel Not Permitted", null), result);
}
public void testTicketExecute2() {
//mock getOrderByIdFromOrder(
Response<Order> response = new Response<>(0, null, null);
ResponseEntity<Response<Order>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re);
//mock getOrderByIdFromOrderOther()
Order order = new Order();
order.setStatus(2);
Response<Order> response2 = new Response<>(1, null, order);
ResponseEntity<Response<Order>> re2 = new ResponseEntity<>(response2, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-other-service:12032/api/v1/orderOtherService/orderOther/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re2);
//mock executeOrderOther()
Response response3 = new Response(1, null, null);
ResponseEntity<Response> re3 = new ResponseEntity<>(response3, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-other-service:12032/api/v1/orderOtherService/orderOther/status/" + "order_id" + "/" + 6,
HttpMethod.GET,
requestEntity,
Response.class)).thenReturn(re3);
Response result = executeServiceImpl.ticketExecute("order_id", headers);
Assert.assertEquals(new Response<>(1, "Success", null), result);
}
public void testCancelOrder2() {
//mock getOrderByIdFromOrder()
Response<Order> response = new Response<>(0, null, null);
ResponseEntity<Response<Order>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re);
//mock getOrderByIdFromOrderOther()
Order order = new Order();
order.setStatus(6);
Response<Order> response2 = new Response<>(1, null, order);
ResponseEntity<Response<Order>> re2 = new ResponseEntity<>(response2, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-other-service:12032/api/v1/orderOtherService/orderOther/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re2);
Response result = cancelServiceImpl.cancelOrder("order_id", "login_id", headers);
Assert.assertEquals(new Response<>(0, "Order Status Cancel Not Permitted", null), result);
}
public void testTicketExecute2() {
//mock getOrderByIdFromOrder(
Response<Order> response = new Response<>(0, null, null);
ResponseEntity<Response<Order>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re);
//mock getOrderByIdFromOrderOther()
Order order = new Order();
order.setStatus(2);
Response<Order> response2 = new Response<>(1, null, order);
ResponseEntity<Response<Order>> re2 = new ResponseEntity<>(response2, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-other-service:12032/api/v1/orderOtherService/orderOther/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re2);
//mock executeOrderOther()
Response response3 = new Response(1, null, null);
ResponseEntity<Response> re3 = new ResponseEntity<>(response3, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-other-service:12032/api/v1/orderOtherService/orderOther/status/" + "order_id" + "/" + 6,
HttpMethod.GET,
requestEntity,
Response.class)).thenReturn(re3);
Response result = executeServiceImpl.ticketExecute("order_id", headers);
Assert.assertEquals(new Response<>(1, "Success", null), result);
}
public void testCalculateRefund2() {
//mock getOrderByIdFromOrder()
Response<Order> response = new Response<>(0, null, null);
ResponseEntity<Response<Order>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re);
//mock getOrderByIdFromOrderOther()
Order order = new Order();
order.setStatus(6);
Response<Order> response2 = new Response<>(1, null, order);
ResponseEntity<Response<Order>> re2 = new ResponseEntity<>(response2, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-other-service:12032/api/v1/orderOtherService/orderOther/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re2);
Response result = cancelServiceImpl.calculateRefund("order_id", headers);
Assert.assertEquals(new Response<>(0, "Order Status Cancel Not Permitted", null), result);
}
public Response updateFoodOrder(FoodOrder updateFoodOrder, HttpHeaders headers) {
FoodOrder fo = foodOrderRepository.findById(updateFoodOrder.getId());
if (fo == null) {
FoodServiceImpl.LOGGER.info("[Update FoodOrder] Order Id Is Non-Existent, orderId: {}", updateFoodOrder.getOrderId());
return new Response<>(0, orderIdNotExist, null);
} else {
fo.setFoodType(updateFoodOrder.getFoodType());
if (updateFoodOrder.getFoodType() == 1) {
fo.setStationName(updateFoodOrder.getStationName());
fo.setStoreName(updateFoodOrder.getStoreName());
}
fo.setFoodName(updateFoodOrder.getFoodName());
fo.setPrice(updateFoodOrder.getPrice());
foodOrderRepository.save(fo);
FoodServiceImpl.LOGGER.info("[Update FoodOrder] Success.");
return new Response<>(1, "Success", fo);
}
}
public Response deletePriceConfig(PriceConfig c, HttpHeaders headers) {
PriceConfig priceConfig = priceConfigRepository.findById(c.getId());
if (priceConfig == null) {
PriceServiceImpl.LOGGER.error("Delete price config error. Price config not found, PriceConfigId: {}",c.getId());
return new Response<>(0, noThatConfig, null);
} else {
PriceConfig pc = new PriceConfig();
pc.setId(c.getId());
pc.setRouteId(c.getRouteId());
pc.setTrainType(c.getTrainType());
pc.setBasicPriceRate(c.getBasicPriceRate());
pc.setFirstClassPriceRate(c.getFirstClassPriceRate());
priceConfigRepository.delete(pc);
return new Response<>(1, "Delete success", pc);
}
}
public Response updateFoodOrder(FoodOrder updateFoodOrder, HttpHeaders headers) {
FoodOrder fo = foodOrderRepository.findById(updateFoodOrder.getId());
if (fo == null) {
FoodServiceImpl.LOGGER.info("[Update FoodOrder] Order Id Is Non-Existent, orderId: {}", updateFoodOrder.getOrderId());
return new Response<>(0, orderIdNotExist, null);
} else {
fo.setFoodType(updateFoodOrder.getFoodType());
if (updateFoodOrder.getFoodType() == 1) {
fo.setStationName(updateFoodOrder.getStationName());
fo.setStoreName(updateFoodOrder.getStoreName());
}
fo.setFoodName(updateFoodOrder.getFoodName());
fo.setPrice(updateFoodOrder.getPrice());
foodOrderRepository.save(fo);
FoodServiceImpl.LOGGER.info("[Update FoodOrder] Success.");
return new Response<>(1, "Success", fo);
}
}
public Response updatePriceConfig(PriceConfig c, HttpHeaders headers) {
PriceConfig priceConfig = priceConfigRepository.findById(c.getId());
if (priceConfig == null) {
PriceServiceImpl.LOGGER.error("Update price config error. Price config not found, PriceConfigId: {}",c.getId());
return new Response<>(0, noThatConfig, null);
} else {
priceConfig.setId(c.getId());
priceConfig.setBasicPriceRate(c.getBasicPriceRate());
priceConfig.setFirstClassPriceRate(c.getFirstClassPriceRate());
priceConfig.setRouteId(c.getRouteId());
priceConfig.setTrainType(c.getTrainType());
priceConfigRepository.save(priceConfig);
return new Response<>(1, "Update success", priceConfig);
}
}
private int getRestTicketNumber(Date travelDate, String trainNumber, String startStationName, String endStationName, int seatType, HttpHeaders headers) {
Seat seatRequest = new Seat();
String fromId = queryForStationId(startStationName, headers);
String toId = queryForStationId(endStationName, headers);
seatRequest.setDestStation(toId);
seatRequest.setStartStation(fromId);
seatRequest.setTrainNumber(trainNumber);
seatRequest.setTravelDate(travelDate);
seatRequest.setSeatType(seatType);
TravelServiceImpl.LOGGER.info("Seat request To String: {}", seatRequest.toString());
HttpEntity requestEntity = new HttpEntity(seatRequest, null);
ResponseEntity<Response<Integer>> re = restTemplate.exchange(
"http://ts-seat-service:18898/api/v1/seatservice/seats/left_tickets",
HttpMethod.POST,
requestEntity,
new ParameterizedTypeReference<Response<Integer>>() {
});
TravelServiceImpl.LOGGER.info("Get Rest tickets num is: {}", re.getBody().toString());
return re.getBody().getData();
}
private int getRestTicketNumber(Date travelDate, String trainNumber, String startStationName, String endStationName, int seatType, HttpHeaders headers) {
Seat seatRequest = new Seat();
String fromId = queryForStationId(startStationName, headers);
String toId = queryForStationId(endStationName, headers);
seatRequest.setDestStation(toId);
seatRequest.setStartStation(fromId);
seatRequest.setTrainNumber(trainNumber);
seatRequest.setTravelDate(travelDate);
seatRequest.setSeatType(seatType);
TravelPlanServiceImpl.LOGGER.info("Seat Request is: {}", seatRequest.toString());
HttpEntity requestEntity = new HttpEntity(seatRequest, null);
ResponseEntity<Response<Integer>> re = restTemplate.exchange(
"http://ts-seat-service:18898/api/v1/seatservice/seats/left_tickets",
HttpMethod.POST,
requestEntity,
new ParameterizedTypeReference<Response<Integer>>() {
});
return re.getBody().getData();
}
public Ticket dipatchSeat(Date date, String tripId, String startStationId, String endStataionId, int seatType, HttpHeaders httpHeaders) {
Seat seatRequest = new Seat();
seatRequest.setTravelDate(date);
seatRequest.setTrainNumber(tripId);
seatRequest.setSeatType(seatType);
seatRequest.setStartStation(startStationId);
seatRequest.setDestStation(endStataionId);
HttpHeaders newHeaders = getAuthorizationHeadersFrom(httpHeaders);
HttpEntity requestEntityTicket = new HttpEntity(seatRequest, newHeaders);
ResponseEntity<Response<Ticket>> reTicket = restTemplate.exchange(
"http://ts-seat-service:18898/api/v1/seatservice/seats",
HttpMethod.POST,
requestEntityTicket,
new ParameterizedTypeReference<Response<Ticket>>() {
});
return reTicket.getBody().getData();
}
public Ticket dipatchSeat(Date date, String tripId, String startStationId, String endStataionId, int seatType, HttpHeaders httpHeaders) {
Seat seatRequest = new Seat();
seatRequest.setTravelDate(date);
seatRequest.setTrainNumber(tripId);
seatRequest.setStartStation(startStationId);
seatRequest.setDestStation(endStataionId);
seatRequest.setSeatType(seatType);
HttpEntity requestEntityTicket = new HttpEntity(seatRequest, httpHeaders);
ResponseEntity<Response<Ticket>> reTicket = restTemplate.exchange(
"http://ts-seat-service:18898/api/v1/seatservice/seats",
HttpMethod.POST,
requestEntityTicket,
new ParameterizedTypeReference<Response<Ticket>>() {
});
return reTicket.getBody().getData();
}
public void testTicketExecute1() {
//mock getOrderByIdFromOrder()
Order order = new Order();
order.setStatus(2);
Response<Order> response = new Response<>(1, null, order);
ResponseEntity<Response<Order>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re);
//mock executeOrder()
Response response2 = new Response(1, null, null);
ResponseEntity<Response> re2 = new ResponseEntity<>(response2, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order/status/" + "order_id" + "/" + 6,
HttpMethod.GET,
requestEntity,
Response.class)).thenReturn(re2);
Response result = executeServiceImpl.ticketExecute("order_id", headers);
Assert.assertEquals(new Response<>(1, "Success.", null), result);
}
public void testCalculateRefund1() {
//mock getOrderByIdFromOrder()
Order order = new Order();
order.setStatus(6);
Response<Order> response = new Response<>(1, null, order);
ResponseEntity<Response<Order>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re);
Response result = cancelServiceImpl.calculateRefund("order_id", headers);
Assert.assertEquals(new Response<>(0, "Order Status Cancel Not Permitted, Refound error", null), result);
}
public void testTicketCollect1() {
//mock getOrderByIdFromOrder()
Order order = new Order();
order.setStatus(1);
Response<Order> response = new Response<>(1, null, order);
ResponseEntity<Response<Order>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re);
//mock executeOrder()
Response response2 = new Response(1, null, null);
ResponseEntity<Response> re2 = new ResponseEntity<>(response2, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order/status/" + "order_id" + "/" + 2,
HttpMethod.GET,
requestEntity,
Response.class)).thenReturn(re2);
Response result = executeServiceImpl.ticketCollect("order_id", headers);
Assert.assertEquals(new Response<>(1, "Success", null), result);
}
public void testCalculateRefund1() {
//mock getOrderByIdFromOrder()
Order order = new Order();
order.setStatus(6);
Response<Order> response = new Response<>(1, null, order);
ResponseEntity<Response<Order>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order/" + "order_id",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<Order>>() {
})).thenReturn(re);
Response result = cancelServiceImpl.calculateRefund("order_id", headers);
Assert.assertEquals(new Response<>(0, "Order Status Cancel Not Permitted, Refound error", null), result);
}
public void run(String... args) throws Exception{
AccountInfo info1 = new AccountInfo();
info1.setUserId("4d2a46c7-71cb-4cf1-b5bb-b68406d9da6f");
info1.setMoney("10000");
service.createAccount(info1,null);
Payment payment = new Payment();
payment.setId("5ad7750ba68b49c0a8c035276b321701");
payment.setOrderId("5ad7750b-a68b-49c0-a8c0-32776b067702");
payment.setPrice("100.0");
payment.setUserId("4d2a46c7-71cb-4cf1-b5bb-b68406d9da6f");
payment.setType(PaymentType.P);
service.initPayment(payment,null);
}
public void run(String... args) throws Exception {
// a man can not buy too many tickets in one hour
SecurityConfig info1 = new SecurityConfig();
info1.setName("max_order_1_hour");
info1.setValue(Integer.MAX_VALUE + "");
info1.setDescription("Max in 1 hour");
securityService.addNewSecurityConfig(info1,null);
SecurityConfig info2 = new SecurityConfig();
info2.setName("max_order_not_use");
info2.setValue(Integer.MAX_VALUE + "");
info2.setDescription("Max not used");
securityService.addNewSecurityConfig(info2,null);
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
differenceMoney ="0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
differenceMoney ="0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
differenceMoney ="0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "1";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
differenceMoney ="0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "上海";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
differenceMoney ="0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "上海";
to = "太原";
status = OrderStatus.PAID.getCode();
price = "0.0";
}
public Order(){
boughtDate = new Date(System.currentTimeMillis());
travelDate = new Date(123456789);
trainNumber = "G1235";
coachNumber = 5;
seatClass = SeatClass.FIRSTCLASS.getCode();
seatNumber = "5A";
from = "shanghai";
to = "taiyuan";
status = OrderStatus.PAID.getCode();
price = "0.0";
differenceMoney ="0.0";
}
public void testDipatchSeat() {
long mills = System.currentTimeMillis();
Seat seatRequest = new Seat(new Date(mills), "G1234", "start_station", "dest_station", 2);
HttpEntity requestEntityTicket = new HttpEntity(seatRequest, headers);
Response<Ticket> response = new Response<>();
ResponseEntity<Response<Ticket>> reTicket = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-seat-service:18898/api/v1/seatservice/seats",
HttpMethod.POST,
requestEntityTicket,
new ParameterizedTypeReference<Response<Ticket>>() {
})).thenReturn(reTicket);
Ticket result = preserveServiceImpl.dipatchSeat(new Date(mills), "G1234", "start_station", "dest_station", 2, headers);
Assert.assertNull(result);
}
public void testDipatchSeat() {
long mills = System.currentTimeMillis();
Seat seatRequest = new Seat(new Date(mills), "G1234", "start_station", "dest_station", 2);
HttpEntity requestEntityTicket = new HttpEntity<>(seatRequest, headers);
Response<Ticket> response = new Response<>();
ResponseEntity<Response<Ticket>> reTicket = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-seat-service:18898/api/v1/seatservice/seats",
HttpMethod.POST,
requestEntityTicket,
new ParameterizedTypeReference<Response<Ticket>>() {
})).thenReturn(reTicket);
Ticket result = rebookServiceImpl.dipatchSeat(new Date(mills), "G1234", "start_station", "dest_station", 2, headers);
Assert.assertNull(result);
}
public void testGetAllOrders1() {
Response<ArrayList<Order>> response = new Response<>(0, null, null);
ResponseEntity<Response<ArrayList<Order>>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-order-service:12031/api/v1/orderservice/order",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<ArrayList<Order>>>() {
})).thenReturn(re);
Mockito.when(restTemplate.exchange(
"http://ts-order-other-service:12032/api/v1/orderOtherService/orderOther",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<ArrayList<Order>>>() {
})).thenReturn(re);
Response result = adminOrderService.getAllOrders(headers);
Assert.assertEquals(new Response<>(1, "Get the orders successfully!", new ArrayList<>()), result);
}
public void testGetAllTravels1() {
Response<ArrayList<AdminTrip>> response = new Response<>(0, null, null);
ResponseEntity<Response<ArrayList<AdminTrip>>> re = new ResponseEntity<>(response, HttpStatus.OK);
Mockito.when(restTemplate.exchange(
"http://ts-travel-service:12346/api/v1/travelservice/admin_trip",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<ArrayList<AdminTrip>>>() {
})).thenReturn(re);
Mockito.when(restTemplate.exchange(
"http://ts-travel2-service:16346/api/v1/travel2service/admin_trip",
HttpMethod.GET,
requestEntity,
new ParameterizedTypeReference<Response<ArrayList<AdminTrip>>>() {
})).thenReturn(re);
Response result = adminTravelServiceImpl.getAllTravels(headers);
Assert.assertEquals(new Response<>(0, null, new ArrayList<>()), result);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId.equals(other.getAccountId())
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber.equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId.equals(other.getAccountId())
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId.equals(other.getAccountId())
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId.equals(other.getAccountId())
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber.equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId.equals(other.getAccountId())
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId.equals(other.getAccountId())
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber.equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId.equals(other.getAccountId())
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId.equals(other.getAccountId())
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId.equals(other.getAccountId())
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId.equals(other.getAccountId())
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId.equals(other.getAccountId())
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId.equals(other.getAccountId())
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber.equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId.equals(other.getAccountId())
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber.equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId.equals(other.getAccountId())
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber.equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId.equals(other.getAccountId())
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber.equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId.equals(other.getAccountId())
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber.equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price == other.price;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Order other = (Order) obj;
return boughtDate.equals(other.getBoughtDate())
&& travelDate.equals(other.getTravelDate())
&& travelTime.equals(other.getTravelTime())
&& accountId .equals( other.getAccountId() )
&& contactsName.equals(other.getContactsName())
&& contactsDocumentNumber.equals(other.getContactsDocumentNumber())
&& documentType == other.getDocumentType()
&& trainNumber.equals(other.getTrainNumber())
&& coachNumber == other.getCoachNumber()
&& seatClass == other.getSeatClass()
&& seatNumber .equals(other.getSeatNumber())
&& from.equals(other.getFrom())
&& to.equals(other.getTo())
&& status == other.getStatus()
&& price.equals(other.price);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Contacts other = (Contacts) obj;
return name.equals(other.getName())
&& accountId .equals( other.getAccountId() )
&& documentNumber.equals(other.getDocumentNumber())
&& phoneNumber.equals(other.getPhoneNumber())
&& documentType == other.getDocumentType();
}
public Response deleteById(UUID assuranceId, HttpHeaders headers) {
assuranceRepository.deleteById(assuranceId);
Assurance a = assuranceRepository.findById(assuranceId);
if (a == null) {
AssuranceServiceImpl.LOGGER.info("[DeleteAssurance] Success, assuranceId: {}", assuranceId);
return new Response<>(1, "Delete Success with Assurance id", null);
} else {
AssuranceServiceImpl.LOGGER.error("[DeleteAssurance] Fail.Assurance not clear, assuranceId: {}", assuranceId);
return new Response<>(0, "Fail.Assurance not clear", assuranceId);
}
}
public Response deleteOrder(String orderId, HttpHeaders headers) {
UUID orderUuid = UUID.fromString(orderId);
Order order = orderRepository.findById(orderUuid);
if (order == null) {
OrderServiceImpl.LOGGER.error("Delete order error.Order not found, OrderId: {}",orderId);
return new Response<>(0, "Order Not Exist.", null);
} else {
orderRepository.deleteById(orderUuid);
return new Response<>(1, "Delete Order Success", order);
}
}
public Response deleteByOrderId(UUID orderId, HttpHeaders headers) {
assuranceRepository.removeAssuranceByOrderId(orderId);
Assurance isExistAssurace = assuranceRepository.findByOrderId(orderId);
if (isExistAssurace == null) {
AssuranceServiceImpl.LOGGER.info("[DeleteAssurance] Success, orderId: {}", orderId);
return new Response<>(1, "Delete Success with Order Id", null);
} else {
AssuranceServiceImpl.LOGGER.error("[DeleteAssurance] Fail.Assurance not clear, orderId: {}", orderId);
return new Response<>(0, "Fail.Assurance not clear", orderId);
}
}
public Response deleteOrder(String orderId, HttpHeaders headers) {
UUID orderUuid = UUID.fromString(orderId);
Order order = orderRepository.findById(orderUuid);
if (order == null) {
OrderServiceImpl.LOGGER.error("Delete order error.Order not found, OrderId: {}",orderId);
return new Response<>(0, "Order Not Exist.", null);
} else {
orderRepository.deleteById(orderUuid);
return new Response<>(1, "Delete Order Success", order);
}
}
public Response findAssuranceById(UUID id, HttpHeaders headers) {
Assurance assurance = assuranceRepository.findById(id);
if (assurance == null) {
AssuranceServiceImpl.LOGGER.warn("No content, id: {}", id);
return new Response<>(0, "No Content by this id", null);
} else {
AssuranceServiceImpl.LOGGER.info("Find Assurance, id: {}", id);
return new Response<>(1, "Find Assurance Success", assurance);
}
}
public Response deleteOrder(String orderId, HttpHeaders headers) {
UUID orderUuid = UUID.fromString(orderId);
Order order = orderRepository.findById(orderUuid);
if (order == null) {
OrderServiceImpl.LOGGER.error("Delete order error.Order not found, OrderId: {}",orderId);
return new Response<>(0, "Order Not Exist.", null);
} else {
orderRepository.deleteById(orderUuid);
return new Response<>(1, "Delete Order Success", order);
}
}
public Response findAssuranceByOrderId(UUID orderId, HttpHeaders headers) {
Assurance assurance = assuranceRepository.findByOrderId(orderId);
if (assurance == null) {
AssuranceServiceImpl.LOGGER.warn("No content, orderId: {}", orderId);
return new Response<>(0, "No Content by this orderId", null);
} else {
AssuranceServiceImpl.LOGGER.info("Find assurance, orderId: {}", orderId);
return new Response<>(1, "Find Assurance Success", assurance);
}
}
public Response deleteOrder(String orderId, HttpHeaders headers) {
UUID orderUuid = UUID.fromString(orderId);
Order order = orderRepository.findById(orderUuid);
if (order == null) {
OrderServiceImpl.LOGGER.error("Delete order error.Order not found, OrderId: {}",orderId);
return new Response<>(0, "Order Not Exist.", null);
} else {
orderRepository.deleteById(orderUuid);
return new Response<>(1, "Delete Order Success", order);
}
}
public Response deleteById(UUID assuranceId, HttpHeaders headers) {
assuranceRepository.deleteById(assuranceId);
Assurance a = assuranceRepository.findById(assuranceId);
if (a == null) {
AssuranceServiceImpl.LOGGER.info("[DeleteAssurance] Success, assuranceId: {}", assuranceId);
return new Response<>(1, "Delete Success with Assurance id", null);
} else {
AssuranceServiceImpl.LOGGER.error("[DeleteAssurance] Fail.Assurance not clear, assuranceId: {}", assuranceId);
return new Response<>(0, "Fail.Assurance not clear", assuranceId);
}
}
public Response delete(UUID contactsId, HttpHeaders headers) {
contactsRepository.deleteById(contactsId);
Contacts contacts = contactsRepository.findById(contactsId);
if (contacts == null) {
ContactsServiceImpl.LOGGER.info("[Contacts-Add&Delete-Service][DeleteContacts] Success.");
return new Response<>(1, "Delete success", contactsId);
} else {
ContactsServiceImpl.LOGGER.error("[Contacts-Add&Delete-Service][DeleteContacts] Fail.Reason not clear, contactsId: {}", contactsId);
return new Response<>(0, "Delete failed", contactsId);
}
}
public Response deleteById(UUID assuranceId, HttpHeaders headers) {
assuranceRepository.deleteById(assuranceId);
Assurance a = assuranceRepository.findById(assuranceId);
if (a == null) {
AssuranceServiceImpl.LOGGER.info("[DeleteAssurance] Success, assuranceId: {}", assuranceId);
return new Response<>(1, "Delete Success with Assurance id", null);
} else {
AssuranceServiceImpl.LOGGER.error("[DeleteAssurance] Fail.Assurance not clear, assuranceId: {}", assuranceId);
return new Response<>(0, "Fail.Assurance not clear", assuranceId);
}
}
public Response deleteRoute(String routeId, HttpHeaders headers) {
routeRepository.removeRouteById(routeId);
Route route = routeRepository.findById(routeId);
if (route == null) {
return new Response<>(1, "Delete Success", routeId);
} else {
RouteServiceImpl.LOGGER.error("Delete error.Route not found,RouteId: {}",routeId);
return new Response<>(0, "Delete failed, Reason unKnown with this routeId", routeId);
}
}
public Response deleteByOrderId(UUID orderId, HttpHeaders headers) {
assuranceRepository.removeAssuranceByOrderId(orderId);
Assurance isExistAssurace = assuranceRepository.findByOrderId(orderId);
if (isExistAssurace == null) {
AssuranceServiceImpl.LOGGER.info("[DeleteAssurance] Success, orderId: {}", orderId);
return new Response<>(1, "Delete Success with Order Id", null);
} else {
AssuranceServiceImpl.LOGGER.error("[DeleteAssurance] Fail.Assurance not clear, orderId: {}", orderId);
return new Response<>(0, "Fail.Assurance not clear", orderId);
}
}
public Response delete(UUID contactsId, HttpHeaders headers) {
contactsRepository.deleteById(contactsId);
Contacts contacts = contactsRepository.findById(contactsId);
if (contacts == null) {
ContactsServiceImpl.LOGGER.info("[Contacts-Add&Delete-Service][DeleteContacts] Success.");
return new Response<>(1, "Delete success", contactsId);
} else {
ContactsServiceImpl.LOGGER.error("[Contacts-Add&Delete-Service][DeleteContacts] Fail.Reason not clear, contactsId: {}", contactsId);
return new Response<>(0, "Delete failed", contactsId);
}
}
public Response deleteRoute(String routeId, HttpHeaders headers) {
routeRepository.removeRouteById(routeId);
Route route = routeRepository.findById(routeId);
if (route == null) {
return new Response<>(1, "Delete Success", routeId);
} else {
RouteServiceImpl.LOGGER.error("Delete error.Route not found,RouteId: {}",routeId);
return new Response<>(0, "Delete failed, Reason unKnown with this routeId", routeId);
}
}
public Response delete(UUID contactsId, HttpHeaders headers) {
contactsRepository.deleteById(contactsId);
Contacts contacts = contactsRepository.findById(contactsId);
if (contacts == null) {
ContactsServiceImpl.LOGGER.info("[Contacts-Add&Delete-Service][DeleteContacts] Success.");
return new Response<>(1, "Delete success", contactsId);
} else {
ContactsServiceImpl.LOGGER.error("[Contacts-Add&Delete-Service][DeleteContacts] Fail.Reason not clear, contactsId: {}", contactsId);
return new Response<>(0, "Delete failed", contactsId);
}
}
public Response deleteByOrderId(UUID orderId, HttpHeaders headers) {
assuranceRepository.removeAssuranceByOrderId(orderId);
Assurance isExistAssurace = assuranceRepository.findByOrderId(orderId);
if (isExistAssurace == null) {
AssuranceServiceImpl.LOGGER.info("[DeleteAssurance] Success, orderId: {}", orderId);
return new Response<>(1, "Delete Success with Order Id", null);
} else {
AssuranceServiceImpl.LOGGER.error("[DeleteAssurance] Fail.Assurance not clear, orderId: {}", orderId);
return new Response<>(0, "Fail.Assurance not clear", orderId);
}
}
public Response deleteRoute(String routeId, HttpHeaders headers) {
routeRepository.removeRouteById(routeId);
Route route = routeRepository.findById(routeId);
if (route == null) {
return new Response<>(1, "Delete Success", routeId);
} else {
RouteServiceImpl.LOGGER.error("Delete error.Route not found,RouteId: {}",routeId);
return new Response<>(0, "Delete failed, Reason unKnown with this routeId", routeId);
}
}
public Response findAssuranceById(UUID id, HttpHeaders headers) {
Assurance assurance = assuranceRepository.findById(id);
if (assurance == null) {
AssuranceServiceImpl.LOGGER.warn("No content, id: {}", id);
return new Response<>(0, "No Content by this id", null);
} else {
AssuranceServiceImpl.LOGGER.info("Find Assurance, id: {}", id);
return new Response<>(1, "Find Assurance Success", assurance);
}
}
public Response deleteRoute(String routeId, HttpHeaders headers) {
routeRepository.removeRouteById(routeId);
Route route = routeRepository.findById(routeId);
if (route == null) {
return new Response<>(1, "Delete Success", routeId);
} else {
RouteServiceImpl.LOGGER.error("Delete error.Route not found,RouteId: {}",routeId);
return new Response<>(0, "Delete failed, Reason unKnown with this routeId", routeId);
}
}
public Response findAssuranceByOrderId(UUID orderId, HttpHeaders headers) {
Assurance assurance = assuranceRepository.findByOrderId(orderId);
if (assurance == null) {
AssuranceServiceImpl.LOGGER.warn("No content, orderId: {}", orderId);
return new Response<>(0, "No Content by this orderId", null);
} else {
AssuranceServiceImpl.LOGGER.info("Find assurance, orderId: {}", orderId);
return new Response<>(1, "Find Assurance Success", assurance);
}
}
public Response deleteRoute(String routeId, HttpHeaders headers) {
routeRepository.removeRouteById(routeId);
Route route = routeRepository.findById(routeId);
if (route == null) {
return new Response<>(1, "Delete Success", routeId);
} else {
RouteServiceImpl.LOGGER.error("Delete error.Route not found,RouteId: {}",routeId);
return new Response<>(0, "Delete failed, Reason unKnown with this routeId", routeId);
}
}
public Response query(String name, HttpHeaders headers) {
Config config = repository.findByName(name);
if (config == null) {
logger.warn("Config does not exist, name: {}, message: {}", name, "No content");
return new Response<>(0, "No content", null);
} else {
logger.info("Query config {} success", name);
return new Response<>(1, "Success", config);
}
}
public Response findAssuranceById(UUID id, HttpHeaders headers) {
Assurance assurance = assuranceRepository.findById(id);
if (assurance == null) {
AssuranceServiceImpl.LOGGER.warn("No content, id: {}", id);
return new Response<>(0, "No Content by this id", null);
} else {
AssuranceServiceImpl.LOGGER.info("Find Assurance, id: {}", id);
return new Response<>(1, "Find Assurance Success", assurance);
}
}
public Response query(String name, HttpHeaders headers) {
Config config = repository.findByName(name);
if (config == null) {
logger.warn("Config does not exist, name: {}, message: {}", name, "No content");
return new Response<>(0, "No content", null);
} else {
logger.info("Query config {} success", name);
return new Response<>(1, "Success", config);
}
}
public Response findAssuranceByOrderId(UUID orderId, HttpHeaders headers) {
Assurance assurance = assuranceRepository.findByOrderId(orderId);
if (assurance == null) {
AssuranceServiceImpl.LOGGER.warn("No content, orderId: {}", orderId);
return new Response<>(0, "No Content by this orderId", null);
} else {
AssuranceServiceImpl.LOGGER.info("Find assurance, orderId: {}", orderId);
return new Response<>(1, "Find Assurance Success", assurance);
}
}
public Response findAssuranceById(UUID id, HttpHeaders headers) {
Assurance assurance = assuranceRepository.findById(id);
if (assurance == null) {
AssuranceServiceImpl.LOGGER.warn("No content, id: {}", id);
return new Response<>(0, "No Content by this id", null);
} else {
AssuranceServiceImpl.LOGGER.info("Find Assurance, id: {}", id);
return new Response<>(1, "Find Assurance Success", assurance);
}
}
public Response getRouteById(String routeId, HttpHeaders headers) {
Route route = routeRepository.findById(routeId);
if (route == null) {
RouteServiceImpl.LOGGER.error("Find route error.Route not found,RouteId: {}",routeId);
return new Response<>(0, "No content with the routeId", null);
} else {
return new Response<>(1, success, route);
}
}
public Response findAssuranceById(UUID id, HttpHeaders headers) {
Assurance assurance = assuranceRepository.findById(id);
if (assurance == null) {
AssuranceServiceImpl.LOGGER.warn("No content, id: {}", id);
return new Response<>(0, "No Content by this id", null);
} else {
AssuranceServiceImpl.LOGGER.info("Find Assurance, id: {}", id);
return new Response<>(1, "Find Assurance Success", assurance);
}
}
public Response findOrderById(UUID id, HttpHeaders headers) {
Order order = orderRepository.findById(id);
if (order == null) {
OrderServiceImpl.LOGGER.error("No content, id: {}",id);
return new Response<>(0, "No Content by this id", null);
} else {
return new Response<>(1, success, order);
}
}
public Response findAssuranceByOrderId(UUID orderId, HttpHeaders headers) {
Assurance assurance = assuranceRepository.findByOrderId(orderId);
if (assurance == null) {
AssuranceServiceImpl.LOGGER.warn("No content, orderId: {}", orderId);
return new Response<>(0, "No Content by this orderId", null);
} else {
AssuranceServiceImpl.LOGGER.info("Find assurance, orderId: {}", orderId);
return new Response<>(1, "Find Assurance Success", assurance);
}
}
public Response getRouteById(String routeId, HttpHeaders headers) {
Route route = routeRepository.findById(routeId);
if (route == null) {
RouteServiceImpl.LOGGER.error("Find route error.Route not found,RouteId: {}",routeId);
return new Response<>(0, "No content with the routeId", null);
} else {
return new Response<>(1, success, route);
}
}
public Response findAssuranceByOrderId(UUID orderId, HttpHeaders headers) {
Assurance assurance = assuranceRepository.findByOrderId(orderId);
if (assurance == null) {
AssuranceServiceImpl.LOGGER.warn("No content, orderId: {}", orderId);
return new Response<>(0, "No Content by this orderId", null);
} else {
AssuranceServiceImpl.LOGGER.info("Find assurance, orderId: {}", orderId);
return new Response<>(1, "Find Assurance Success", assurance);
}
}
public Response findOrderById(UUID id, HttpHeaders headers) {
Order order = orderRepository.findById(id);
if (order == null) {
OrderServiceImpl.LOGGER.error("No content, id: {}",id);
return new Response<>(0, "No Content by this id", null);
} else {
return new Response<>(1, success, order);
}
}
public Response createContacts(Contacts contacts, HttpHeaders headers) {
Contacts contactsTemp = contactsRepository.findById(contacts.getId());
if (contactsTemp != null) {
ContactsServiceImpl.LOGGER.warn("[Contacts Service][Init Contacts] Already Exists Id: {}", contacts.getId());
return new Response<>(0, "Already Exists", contactsTemp);
} else {
contactsRepository.save(contacts);
return new Response<>(1, "Create Success", null);
}
}
public Response createFoodStore(FoodStore fs, HttpHeaders headers) {
FoodStore fsTemp = foodStoreRepository.findById(fs.getId());
if (fsTemp != null) {
FoodMapServiceImpl.LOGGER.error("[Init FoodStore] Already Exists Id: {}", fs.getId());
return new Response<>(0, "Already Exists Id", null);
} else {
foodStoreRepository.save(fs);
return new Response<>(1, "Save Success", fs);
}
}
public Response createContacts(Contacts contacts, HttpHeaders headers) {
Contacts contactsTemp = contactsRepository.findById(contacts.getId());
if (contactsTemp != null) {
ContactsServiceImpl.LOGGER.warn("[Contacts Service][Init Contacts] Already Exists Id: {}", contacts.getId());
return new Response<>(0, "Already Exists", contactsTemp);
} else {
contactsRepository.save(contacts);
return new Response<>(1, "Create Success", null);
}
}
public TrainFood createTrainFood(TrainFood tf, HttpHeaders headers) {
TrainFood tfTemp = trainFoodRepository.findById(tf.getId());
if (tfTemp != null) {
FoodMapServiceImpl.LOGGER.error("[Init TrainFood] Already Exists Id: {}", tf.getId());
} else {
trainFoodRepository.save(tf);
}
return tf;
}
public Response findContactsById(UUID id, HttpHeaders headers) {
LOGGER.info("FIND CONTACTS BY ID: " + id);
Contacts contacts = contactsRepository.findById(id);
if (contacts != null) {
return new Response<>(1, success, contacts);
} else {
LOGGER.error("No contacts according to contactsId: {}", id);
return new Response<>(0, "No contacts according to contacts id", null);
}
}
public Response queryByOrderId(UUID orderId, HttpHeaders headers) {
ConsignRecord consignRecords = repository.findByOrderId(orderId);
if (consignRecords != null ) {
return new Response<>(1, "Find consign by order id success", consignRecords);
}else {
LOGGER.warn("No Content according to orderId: {}", orderId);
return new Response<>(0, "No Content according to order id", null);
}
}
public Response queryAll(HttpHeaders headers) {
List<Config> configList = repository.findAll();
if (configList != null && !configList.isEmpty()) {
logger.info("Query all config success");
return new Response<>(1, "Find all config success", configList);
} else {
logger.warn("Query config: {}", "No content");
return new Response<>(0, "No content", null);
}
}
public Response query(HttpHeaders headers) {
List<Station> stations = repository.findAll();
if (stations != null && !stations.isEmpty()) {
return new Response<>(1, "Find all content", stations);
} else {
StationServiceImpl.LOGGER.warn("Query stations warn.Find all stations: {}","No content");
return new Response<>(0, "No content", null);
}
}
public Response queryAll(HttpHeaders headers) {
List<Config> configList = repository.findAll();
if (configList != null && !configList.isEmpty()) {
logger.info("Query all config success");
return new Response<>(1, "Find all config success", configList);
} else {
logger.warn("Query config: {}", "No content");
return new Response<>(0, "No content", null);
}
}
public Response query(HttpHeaders headers){
List<Payment> payments = paymentRepository.findAll();
if(payments!= null && !payments.isEmpty()){
return new Response<>(1,"Query Success", payments);
}else {
PaymentServiceImpl.LOGGER.warn("Find all payment warn: {}","No content");
return new Response<>(0, "No Content", null);
}
}
public Response queryAll(HttpHeaders headers) {
List<Config> configList = repository.findAll();
if (configList != null && !configList.isEmpty()) {
logger.info("Query all config success");
return new Response<>(1, "Find all config success", configList);
} else {
logger.warn("Query config: {}", "No content");
return new Response<>(0, "No content", null);
}
}
public Response getAllOrders(HttpHeaders headers) {
ArrayList<Order> orders = orderRepository.findAll();
if (orders != null && !orders.isEmpty()) {
return new Response<>(1, "Success.", orders);
} else {
OrderServiceImpl.LOGGER.warn("Find all orders warn: {}","No content");
return new Response<>(0, "No Content.", null);
}
}
public Response queryAll(HttpHeaders headers) {
List<Config> configList = repository.findAll();
if (configList != null && !configList.isEmpty()) {
logger.info("Query all config success");
return new Response<>(1, "Find all config success", configList);
} else {
logger.warn("Query config: {}", "No content");
return new Response<>(0, "No content", null);
}
}
public Response queryPayment(HttpHeaders headers) {
List<Payment> payments = paymentRepository.findAll();
if (payments != null && !payments.isEmpty()) {
return new Response<>(1, "Query Payment Success", payments);
}else {
LOGGER.error("Query payment failed");
return new Response<>(0, "Query Payment Failed", null);
}
}
public Response queryAll(HttpHeaders headers) {
List<Config> configList = repository.findAll();
if (configList != null && !configList.isEmpty()) {
logger.info("Query all config success");
return new Response<>(1, "Find all config success", configList);
} else {
logger.warn("Query config: {}", "No content");
return new Response<>(0, "No content", null);
}
}
public Response getAllContacts(HttpHeaders headers) {
ArrayList<Contacts> contacts = contactsRepository.findAll();
if (contacts != null && !contacts.isEmpty()) {
return new Response<>(1, success, contacts);
} else {
LOGGER.error("Get all contacts error, message: {}", "No content");
return new Response<>(0, "No content", null);
}
}
public Response getAllRoutes(HttpHeaders headers) {
ArrayList<Route> routes = routeRepository.findAll();
if (routes != null && !routes.isEmpty()) {
return new Response<>(1, success, routes);
} else {
RouteServiceImpl.LOGGER.warn("Find all routes warn: {}","No Content");
return new Response<>(0, "No Content", null);
}
}
public Response query(HttpHeaders headers) {
List<Station> stations = repository.findAll();
if (stations != null && !stations.isEmpty()) {
return new Response<>(1, "Find all content", stations);
} else {
StationServiceImpl.LOGGER.warn("Query stations warn.Find all stations: {}","No content");
return new Response<>(0, "No content", null);
}
}
public Response query(HttpHeaders headers) {
List<Station> stations = repository.findAll();
if (stations != null && !stations.isEmpty()) {
return new Response<>(1, "Find all content", stations);
} else {
StationServiceImpl.LOGGER.warn("Query stations warn.Find all stations: {}","No content");
return new Response<>(0, "No content", null);
}
}
public Response queryAddMoney(HttpHeaders headers) {
List<Money> monies = addMoneyRepository.findAll();
if (monies != null && !monies.isEmpty()) {
return new Response<>(1, "Query Money Success", null);
} else {
LOGGER.error("Query money failed");
return new Response<>(0, "Query money failed", null);
}
}
public Response query(HttpHeaders headers) {
List<Station> stations = repository.findAll();
if (stations != null && !stations.isEmpty()) {
return new Response<>(1, "Find all content", stations);
} else {
StationServiceImpl.LOGGER.warn("Query stations warn.Find all stations: {}","No content");
return new Response<>(0, "No content", null);
}
}
public Response queryPayment(HttpHeaders headers) {
List<Payment> payments = paymentRepository.findAll();
if (payments != null && !payments.isEmpty()) {
return new Response<>(1, "Query Payment Success", payments);
}else {
LOGGER.error("Query payment failed");
return new Response<>(0, "Query Payment Failed", null);
}
}
public Response findAllFoodOrder(HttpHeaders headers) {
List<FoodOrder> foodOrders = foodOrderRepository.findAll();
if (foodOrders != null && !foodOrders.isEmpty()) {
return new Response<>(1, success, foodOrders);
} else {
FoodServiceImpl.LOGGER.error("Find all food order error: {}", "No Content");
return new Response<>(0, "No Content", null);
}
}
public Response query(HttpHeaders headers) {
List<Station> stations = repository.findAll();
if (stations != null && !stations.isEmpty()) {
return new Response<>(1, "Find all content", stations);
} else {
StationServiceImpl.LOGGER.warn("Query stations warn.Find all stations: {}","No content");
return new Response<>(0, "No content", null);
}
}
public Response query(HttpHeaders headers) {
List<Station> stations = repository.findAll();
if (stations != null && !stations.isEmpty()) {
return new Response<>(1, "Find all content", stations);
} else {
StationServiceImpl.LOGGER.warn("Query stations warn.Find all stations: {}","No content");
return new Response<>(0, "No content", null);
}
}
public Response listFoodStores(HttpHeaders headers) {
List<FoodStore> foodStores = foodStoreRepository.findAll();
if (foodStores != null && !foodStores.isEmpty()) {
return new Response<>(1, success, foodStores);
} else {
FoodMapServiceImpl.LOGGER.error("List food stores error: {}", "Food store is empty");
return new Response<>(0, "Food store is empty", null);
}
}
public Response getAllContacts(HttpHeaders headers) {
ArrayList<Contacts> contacts = contactsRepository.findAll();
if (contacts != null && !contacts.isEmpty()) {
return new Response<>(1, success, contacts);
} else {
LOGGER.error("Get all contacts error, message: {}", "No content");
return new Response<>(0, "No content", null);
}
}
public Response query(HttpHeaders headers) {
List<Station> stations = repository.findAll();
if (stations != null && !stations.isEmpty()) {
return new Response<>(1, "Find all content", stations);
} else {
StationServiceImpl.LOGGER.warn("Query stations warn.Find all stations: {}","No content");
return new Response<>(0, "No content", null);
}
}
public Response getAllRoutes(HttpHeaders headers) {
ArrayList<Route> routes = routeRepository.findAll();
if (routes != null && !routes.isEmpty()) {
return new Response<>(1, success, routes);
} else {
RouteServiceImpl.LOGGER.warn("Find all routes warn: {}","No Content");
return new Response<>(0, "No Content", null);
}
}
public Response query(HttpHeaders headers){
List<Payment> payments = paymentRepository.findAll();
if(payments!= null && !payments.isEmpty()){
return new Response<>(1,"Query Success", payments);
}else {
PaymentServiceImpl.LOGGER.warn("Find all payment warn: {}","No content");
return new Response<>(0, "No Content", null);
}
}
public Response getAllRoutes(HttpHeaders headers) {
ArrayList<Route> routes = routeRepository.findAll();
if (routes != null && !routes.isEmpty()) {
return new Response<>(1, success, routes);
} else {
RouteServiceImpl.LOGGER.warn("Find all routes warn: {}","No Content");
return new Response<>(0, "No Content", null);
}
}
public Response getAllOrders(HttpHeaders headers) {
ArrayList<Order> orders = orderRepository.findAll();
if (orders != null && !orders.isEmpty()) {
return new Response<>(1, "Success.", orders);
} else {
OrderServiceImpl.LOGGER.warn("Find all orders warn: {}","No content");
return new Response<>(0, "No Content.", null);
}
}
public Response getAllRoutes(HttpHeaders headers) {
ArrayList<Route> routes = routeRepository.findAll();
if (routes != null && !routes.isEmpty()) {
return new Response<>(1, success, routes);
} else {
RouteServiceImpl.LOGGER.warn("Find all routes warn: {}","No Content");
return new Response<>(0, "No Content", null);
}
}
public Response queryAddMoney(HttpHeaders headers) {
List<Money> monies = addMoneyRepository.findAll();
if (monies != null && !monies.isEmpty()) {
return new Response<>(1, "Query Money Success", null);
} else {
LOGGER.error("Query money failed");
return new Response<>(0, "Query money failed", null);
}
}
public Response getAllRoutes(HttpHeaders headers) {
ArrayList<Route> routes = routeRepository.findAll();
if (routes != null && !routes.isEmpty()) {
return new Response<>(1, success, routes);
} else {
RouteServiceImpl.LOGGER.warn("Find all routes warn: {}","No Content");
return new Response<>(0, "No Content", null);
}
}
public Response queryPayment(HttpHeaders headers) {
List<Payment> payments = paymentRepository.findAll();
if (payments != null && !payments.isEmpty()) {
return new Response<>(1, "Query Payment Success", payments);
}else {
LOGGER.error("Query payment failed");
return new Response<>(0, "Query Payment Failed", null);
}
}
public Response getAllRoutes(HttpHeaders headers) {
ArrayList<Route> routes = routeRepository.findAll();
if (routes != null && !routes.isEmpty()) {
return new Response<>(1, success, routes);
} else {
RouteServiceImpl.LOGGER.warn("Find all routes warn: {}","No Content");
return new Response<>(0, "No Content", null);
}
}
public Response listTrainFood(HttpHeaders headers) {
List<TrainFood> trainFoodList = trainFoodRepository.findAll();
if (trainFoodList != null && !trainFoodList.isEmpty()) {
return new Response<>(1, success, trainFoodList);
} else {
FoodMapServiceImpl.LOGGER.error("List train food error: {}", noContent);
return new Response<>(0, noContent, null);
}
}
public Response getAllRoutes(HttpHeaders headers) {
ArrayList<Route> routes = routeRepository.findAll();
if (routes != null && !routes.isEmpty()) {
return new Response<>(1, success, routes);
} else {
RouteServiceImpl.LOGGER.warn("Find all routes warn: {}","No Content");
return new Response<>(0, "No Content", null);
}
}
public Response getAllContacts(HttpHeaders headers) {
ArrayList<Contacts> contacts = contactsRepository.findAll();
if (contacts != null && !contacts.isEmpty()) {
return new Response<>(1, success, contacts);
} else {
LOGGER.error("Get all contacts error, message: {}", "No content");
return new Response<>(0, "No content", null);
}
}
public Response query(HttpHeaders headers){
List<Payment> payments = paymentRepository.findAll();
if(payments!= null && !payments.isEmpty()){
return new Response<>(1,"Query Success", payments);
}else {
PaymentServiceImpl.LOGGER.warn("Find all payment warn: {}","No content");
return new Response<>(0, "No Content", null);
}
}
public Response queryAddMoney(HttpHeaders headers) {
List<Money> monies = addMoneyRepository.findAll();
if (monies != null && !monies.isEmpty()) {
return new Response<>(1, "Query Money Success", null);
} else {
LOGGER.error("Query money failed");
return new Response<>(0, "Query money failed", null);
}
}
public Response query(HttpHeaders headers){
List<Payment> payments = paymentRepository.findAll();
if(payments!= null && !payments.isEmpty()){
return new Response<>(1,"Query Success", payments);
}else {
PaymentServiceImpl.LOGGER.warn("Find all payment warn: {}","No content");
return new Response<>(0, "No Content", null);
}
}
public Response queryPayment(HttpHeaders headers) {
List<Payment> payments = paymentRepository.findAll();
if (payments != null && !payments.isEmpty()) {
return new Response<>(1, "Query Payment Success", payments);
}else {
LOGGER.error("Query payment failed");
return new Response<>(0, "Query Payment Failed", null);
}
}
public Response findAllFoodOrder(HttpHeaders headers) {
List<FoodOrder> foodOrders = foodOrderRepository.findAll();
if (foodOrders != null && !foodOrders.isEmpty()) {
return new Response<>(1, success, foodOrders);
} else {
FoodServiceImpl.LOGGER.error("Find all food order error: {}", "No Content");
return new Response<>(0, "No Content", null);
}
}
public Response query(HttpHeaders headers){
List<Payment> payments = paymentRepository.findAll();
if(payments!= null && !payments.isEmpty()){
return new Response<>(1,"Query Success", payments);
}else {
PaymentServiceImpl.LOGGER.warn("Find all payment warn: {}","No content");
return new Response<>(0, "No Content", null);
}
}
public Response listFoodStores(HttpHeaders headers) {
List<FoodStore> foodStores = foodStoreRepository.findAll();
if (foodStores != null && !foodStores.isEmpty()) {
return new Response<>(1, success, foodStores);
} else {
FoodMapServiceImpl.LOGGER.error("List food stores error: {}", "Food store is empty");
return new Response<>(0, "Food store is empty", null);
}
}
public Response query(HttpHeaders headers){
List<Payment> payments = paymentRepository.findAll();
if(payments!= null && !payments.isEmpty()){
return new Response<>(1,"Query Success", payments);
}else {
PaymentServiceImpl.LOGGER.warn("Find all payment warn: {}","No content");
return new Response<>(0, "No Content", null);
}
}
public Response getAllContacts(HttpHeaders headers) {
ArrayList<Contacts> contacts = contactsRepository.findAll();
if (contacts != null && !contacts.isEmpty()) {
return new Response<>(1, success, contacts);
} else {
LOGGER.error("Get all contacts error, message: {}", "No content");
return new Response<>(0, "No content", null);
}
}
public Response query(HttpHeaders headers){
List<Payment> payments = paymentRepository.findAll();
if(payments!= null && !payments.isEmpty()){
return new Response<>(1,"Query Success", payments);
}else {
PaymentServiceImpl.LOGGER.warn("Find all payment warn: {}","No content");
return new Response<>(0, "No Content", null);
}
}
public Response queryAddMoney(HttpHeaders headers) {
List<Money> monies = addMoneyRepository.findAll();
if (monies != null && !monies.isEmpty()) {
return new Response<>(1, "Query Money Success", null);
} else {
LOGGER.error("Query money failed");
return new Response<>(0, "Query money failed", null);
}
}
public Response getAllOrders(HttpHeaders headers) {
ArrayList<Order> orders = orderRepository.findAll();
if (orders != null && !orders.isEmpty()) {
return new Response<>(1, "Success.", orders);
} else {
OrderServiceImpl.LOGGER.warn("Find all orders warn: {}","No content");
return new Response<>(0, "No Content.", null);
}
}
public Response queryPayment(HttpHeaders headers) {
List<Payment> payments = paymentRepository.findAll();
if (payments != null && !payments.isEmpty()) {
return new Response<>(1, "Query Payment Success", payments);
}else {
LOGGER.error("Query payment failed");
return new Response<>(0, "Query Payment Failed", null);
}
}
public Response getAllOrders(HttpHeaders headers) {
ArrayList<Order> orders = orderRepository.findAll();
if (orders != null && !orders.isEmpty()) {
return new Response<>(1, "Success.", orders);
} else {
OrderServiceImpl.LOGGER.warn("Find all orders warn: {}","No content");
return new Response<>(0, "No Content.", null);
}
}
public Response findAllFoodOrder(HttpHeaders headers) {
List<FoodOrder> foodOrders = foodOrderRepository.findAll();
if (foodOrders != null && !foodOrders.isEmpty()) {
return new Response<>(1, success, foodOrders);
} else {
FoodServiceImpl.LOGGER.error("Find all food order error: {}", "No Content");
return new Response<>(0, "No Content", null);
}
}
public Response getAllOrders(HttpHeaders headers) {
ArrayList<Order> orders = orderRepository.findAll();
if (orders != null && !orders.isEmpty()) {
return new Response<>(1, "Success.", orders);
} else {
OrderServiceImpl.LOGGER.warn("Find all orders warn: {}","No content");
return new Response<>(0, "No Content.", null);
}
}
public Response listFoodStores(HttpHeaders headers) {
List<FoodStore> foodStores = foodStoreRepository.findAll();
if (foodStores != null && !foodStores.isEmpty()) {
return new Response<>(1, success, foodStores);
} else {
FoodMapServiceImpl.LOGGER.error("List food stores error: {}", "Food store is empty");
return new Response<>(0, "Food store is empty", null);
}
}
public Response getAllOrders(HttpHeaders headers) {
ArrayList<Order> orders = orderRepository.findAll();
if (orders != null && !orders.isEmpty()) {
return new Response<>(1, "Success.", orders);
} else {
OrderServiceImpl.LOGGER.warn("Find all orders warn: {}","No content");
return new Response<>(0, "No Content.", null);
}
}
public Response getAllContacts(HttpHeaders headers) {
ArrayList<Contacts> contacts = contactsRepository.findAll();
if (contacts != null && !contacts.isEmpty()) {
return new Response<>(1, success, contacts);
} else {
LOGGER.error("Get all contacts error, message: {}", "No content");
return new Response<>(0, "No content", null);
}
}
public Response getAllOrders(HttpHeaders headers) {
ArrayList<Order> orders = orderRepository.findAll();
if (orders != null && !orders.isEmpty()) {
return new Response<>(1, "Success.", orders);
} else {
OrderServiceImpl.LOGGER.warn("Find all orders warn: {}","No content");
return new Response<>(0, "No Content.", null);
}
}
public Response findAllFoodOrder(HttpHeaders headers) {
List<FoodOrder> foodOrders = foodOrderRepository.findAll();
if (foodOrders != null && !foodOrders.isEmpty()) {
return new Response<>(1, success, foodOrders);
} else {
FoodServiceImpl.LOGGER.error("Find all food order error: {}", "No Content");
return new Response<>(0, "No Content", null);
}
}
public Response queryAddMoney(HttpHeaders headers) {
List<Money> monies = addMoneyRepository.findAll();
if (monies != null && !monies.isEmpty()) {
return new Response<>(1, "Query Money Success", null);
} else {
LOGGER.error("Query money failed");
return new Response<>(0, "Query money failed", null);
}
}
public Response listFoodStores(HttpHeaders headers) {
List<FoodStore> foodStores = foodStoreRepository.findAll();
if (foodStores != null && !foodStores.isEmpty()) {
return new Response<>(1, success, foodStores);
} else {
FoodMapServiceImpl.LOGGER.error("List food stores error: {}", "Food store is empty");
return new Response<>(0, "Food store is empty", null);
}
}
public Response queryAddMoney(HttpHeaders headers) {
List<Money> monies = addMoneyRepository.findAll();
if (monies != null && !monies.isEmpty()) {
return new Response<>(1, "Query Money Success", null);
} else {
LOGGER.error("Query money failed");
return new Response<>(0, "Query money failed", null);
}
}
public Response getAllContacts(HttpHeaders headers) {
ArrayList<Contacts> contacts = contactsRepository.findAll();
if (contacts != null && !contacts.isEmpty()) {
return new Response<>(1, success, contacts);
} else {
LOGGER.error("Get all contacts error, message: {}", "No content");
return new Response<>(0, "No content", null);
}
}
public Response queryAddMoney(HttpHeaders headers) {
List<Money> monies = addMoneyRepository.findAll();
if (monies != null && !monies.isEmpty()) {
return new Response<>(1, "Query Money Success", null);
} else {
LOGGER.error("Query money failed");
return new Response<>(0, "Query money failed", null);
}
}
public Response findAllFoodOrder(HttpHeaders headers) {
List<FoodOrder> foodOrders = foodOrderRepository.findAll();
if (foodOrders != null && !foodOrders.isEmpty()) {
return new Response<>(1, success, foodOrders);
} else {
FoodServiceImpl.LOGGER.error("Find all food order error: {}", "No Content");
return new Response<>(0, "No Content", null);
}
}
public Response queryPayment(HttpHeaders headers) {
List<Payment> payments = paymentRepository.findAll();
if (payments != null && !payments.isEmpty()) {
return new Response<>(1, "Query Payment Success", payments);
}else {
LOGGER.error("Query payment failed");
return new Response<>(0, "Query Payment Failed", null);
}
}
public Response listFoodStores(HttpHeaders headers) {
List<FoodStore> foodStores = foodStoreRepository.findAll();
if (foodStores != null && !foodStores.isEmpty()) {
return new Response<>(1, success, foodStores);
} else {
FoodMapServiceImpl.LOGGER.error("List food stores error: {}", "Food store is empty");
return new Response<>(0, "Food store is empty", null);
}
}
public Response queryPayment(HttpHeaders headers) {
List<Payment> payments = paymentRepository.findAll();
if (payments != null && !payments.isEmpty()) {
return new Response<>(1, "Query Payment Success", payments);
}else {
LOGGER.error("Query payment failed");
return new Response<>(0, "Query Payment Failed", null);
}
}
public Response getAllContacts(HttpHeaders headers) {
ArrayList<Contacts> contacts = contactsRepository.findAll();
if (contacts != null && !contacts.isEmpty()) {
return new Response<>(1, success, contacts);
} else {
LOGGER.error("Get all contacts error, message: {}", "No content");
return new Response<>(0, "No content", null);
}
}
public Response queryPayment(HttpHeaders headers) {
List<Payment> payments = paymentRepository.findAll();
if (payments != null && !payments.isEmpty()) {
return new Response<>(1, "Query Payment Success", payments);
}else {
LOGGER.error("Query payment failed");
return new Response<>(0, "Query Payment Failed", null);
}
}
public Response findAllFoodOrder(HttpHeaders headers) {
List<FoodOrder> foodOrders = foodOrderRepository.findAll();
if (foodOrders != null && !foodOrders.isEmpty()) {
return new Response<>(1, success, foodOrders);
} else {
FoodServiceImpl.LOGGER.error("Find all food order error: {}", "No Content");
return new Response<>(0, "No Content", null);
}
}
public Response listTrainFood(HttpHeaders headers) {
List<TrainFood> trainFoodList = trainFoodRepository.findAll();
if (trainFoodList != null && !trainFoodList.isEmpty()) {
return new Response<>(1, success, trainFoodList);
} else {
FoodMapServiceImpl.LOGGER.error("List train food error: {}", noContent);
return new Response<>(0, noContent, null);
}
}
public Response findAllFoodOrder(HttpHeaders headers) {
List<FoodOrder> foodOrders = foodOrderRepository.findAll();
if (foodOrders != null && !foodOrders.isEmpty()) {
return new Response<>(1, success, foodOrders);
} else {
FoodServiceImpl.LOGGER.error("Find all food order error: {}", "No Content");
return new Response<>(0, "No Content", null);
}
}
public Response getAllContacts(HttpHeaders headers) {
ArrayList<Contacts> contacts = contactsRepository.findAll();
if (contacts != null && !contacts.isEmpty()) {
return new Response<>(1, success, contacts);
} else {
LOGGER.error("Get all contacts error, message: {}", "No content");
return new Response<>(0, "No content", null);
}
}
public Response getAllContacts(HttpHeaders headers) {
ArrayList<Contacts> contacts = contactsRepository.findAll();
if (contacts != null && !contacts.isEmpty()) {
return new Response<>(1, success, contacts);
} else {
LOGGER.error("Get all contacts error, message: {}", "No content");
return new Response<>(0, "No content", null);
}
}
public Response listTrainFood(HttpHeaders headers) {
List<TrainFood> trainFoodList = trainFoodRepository.findAll();
if (trainFoodList != null && !trainFoodList.isEmpty()) {
return new Response<>(1, success, trainFoodList);
} else {
FoodMapServiceImpl.LOGGER.error("List train food error: {}", noContent);
return new Response<>(0, noContent, null);
}
}
public Response getAllContacts(HttpHeaders headers) {
ArrayList<Contacts> contacts = contactsRepository.findAll();
if (contacts != null && !contacts.isEmpty()) {
return new Response<>(1, success, contacts);
} else {
LOGGER.error("Get all contacts error, message: {}", "No content");
return new Response<>(0, "No content", null);
}
}
public Response listFoodStores(HttpHeaders headers) {
List<FoodStore> foodStores = foodStoreRepository.findAll();
if (foodStores != null && !foodStores.isEmpty()) {
return new Response<>(1, success, foodStores);
} else {
FoodMapServiceImpl.LOGGER.error("List food stores error: {}", "Food store is empty");
return new Response<>(0, "Food store is empty", null);
}
}
public Response listFoodStoresByStationId(String stationId, HttpHeaders headers) {
List<FoodStore> foodStoreList = foodStoreRepository.findByStationId(stationId);
if (foodStoreList != null && !foodStoreList.isEmpty()) {
return new Response<>(1, success, foodStoreList);
} else {
FoodMapServiceImpl.LOGGER.error("List food stores by station id error: {}, stationId: {}", "Food store is empty", stationId);
return new Response<>(0, "Food store is empty", null);
}
}
public Response queryByConsignee(String consignee, HttpHeaders headers) {
List<ConsignRecord> consignRecords = repository.findByConsignee(consignee);
if (consignRecords != null && !consignRecords.isEmpty()) {
return new Response<>(1, "Find consign by consignee success", consignRecords);
}else {
LOGGER.warn("No Content according to consignee: {}", consignee);
return new Response<>(0, "No Content according to consignee", null);
}
}
public Response listFoodStoresByStationId(String stationId, HttpHeaders headers) {
List<FoodStore> foodStoreList = foodStoreRepository.findByStationId(stationId);
if (foodStoreList != null && !foodStoreList.isEmpty()) {
return new Response<>(1, success, foodStoreList);
} else {
FoodMapServiceImpl.LOGGER.error("List food stores by station id error: {}, stationId: {}", "Food store is empty", stationId);
return new Response<>(0, "Food store is empty", null);
}
}
public Response queryByAccountId(UUID accountId, HttpHeaders headers) {
List<ConsignRecord> consignRecords = repository.findByAccountId(accountId);
if (consignRecords != null && !consignRecords.isEmpty()) {
return new Response<>(1, "Find consign by account id success", consignRecords);
}else {
LOGGER.warn("No Content according to accountId: {}", accountId);
return new Response<>(0, "No Content according to accountId", null);
}
}
public static String encode(byte[] from) {
StringBuilder to = new StringBuilder((int) ((double) from.length * 1.34D) + 3);
int num = 0;
char currentByte = 0;
int i;
for (i = 0; i < from.length; ++i) {
for (num %= 8; num < 8; num += 6) {
switch (num) {
case 0:
currentByte = (char) (from[i] & lead6byte);
currentByte = (char) (currentByte >>> 2);
case 1:
case 3:
case 5:
default:
break;
case 2:
currentByte = (char) (from[i] & last6byte);
break;
case 4:
currentByte = (char) (from[i] & last4byte);
currentByte = (char) (currentByte << 2);
if (i + 1 < from.length) {
currentByte = (char) (currentByte | (from[i + 1] & lead2byte) >>> 6);
}
break;
case 6:
currentByte = (char) (from[i] & last2byte);
currentByte = (char) (currentByte << 4);
if (i + 1 < from.length) {
currentByte = (char) (currentByte | (from[i + 1] & lead4byte) >>> 4);
}
}
to.append(encodeTable[currentByte]);
}
}
if (to.length() % 4 != 0) {
for (i = 4 - to.length() % 4; i > 0; --i) {
to.append("=");
}
}
return to.toString();
}
public static String encode(byte[] from) {
StringBuilder to = new StringBuilder((int) ((double) from.length * 1.34D) + 3);
int num = 0;
char currentByte = 0;
int i;
for (i = 0; i < from.length; ++i) {
for (num %= 8; num < 8; num += 6) {
switch (num) {
case 0:
currentByte = (char) (from[i] & lead6byte);
currentByte = (char) (currentByte >>> 2);
case 1:
case 3:
case 5:
default:
break;
case 2:
currentByte = (char) (from[i] & last6byte);
break;
case 4:
currentByte = (char) (from[i] & last4byte);
currentByte = (char) (currentByte << 2);
if (i + 1 < from.length) {
currentByte = (char) (currentByte | (from[i + 1] & lead2byte) >>> 6);
}
break;
case 6:
currentByte = (char) (from[i] & last2byte);
currentByte = (char) (currentByte << 4);
if (i + 1 < from.length) {
currentByte = (char) (currentByte | (from[i + 1] & lead4byte) >>> 4);
}
}
to.append(encodeTable[currentByte]);
}
}
if (to.length() % 4 != 0) {
for (i = 4 - to.length() % 4; i > 0; --i) {
to.append("=");
}
}
return to.toString();
}
public OAuth2Authentication extractAuthentication(Map<String, ?> map) {
Map<String, String> parameters = new HashMap<String, String>();
Set<String> scope = extractScope(map);
Authentication user = userTokenConverter.extractAuthentication(map);
String clientId = (String) map.get(CLIENT_ID);
parameters.put(CLIENT_ID, clientId);
if (includeGrantType && map.containsKey(GRANT_TYPE)) {
parameters.put(GRANT_TYPE, (String) map.get(GRANT_TYPE));
}
Set<String> resourceIds = new LinkedHashSet<String>(map.containsKey(AUD) ? getAudience(map)
: Collections.<String>emptySet());
Collection<? extends GrantedAuthority> authorities = null;
if (user == null && map.containsKey(AUTHORITIES)) {
@SuppressWarnings("unchecked")
String[] roles = ((Collection<String>) map.get(AUTHORITIES)).toArray(new String[0]);
authorities = AuthorityUtils.createAuthorityList(roles);
}
// 增加对client Authorities支持
if (user != null && map.containsKey(CLIENT_AUTHORITIES)) {
String[] clentRoles = ((Collection<String>) map.get(CLIENT_AUTHORITIES)).toArray(new String[0]);
authorities = AuthorityUtils.createAuthorityList(clentRoles);
// 增加额外属性
parameters.put("mobile", (String) map.get("mobile"));
parameters.put("tenant_id", (String) map.get("tenant_id"));
parameters.put("department_id", (String) map.get("department_id"));
parameters.put("user_authorities", JSON.toJSONString(map.get("user_authorities")));
parameters.put("payload", JSON.toJSONString(map.get("payload")));
// 结束增加额外属性
}
// 结束增加对client Authorities支持
OAuth2Request request = new OAuth2Request(parameters, clientId, authorities, true, scope, resourceIds, null, null,
null);
return new OAuth2Authentication(request, user);
}
public OAuth2Authentication extractAuthentication(Map<String, ?> map) {
Map<String, String> parameters = new HashMap<String, String>();
Set<String> scope = extractScope(map);
Authentication user = userTokenConverter.extractAuthentication(map);
String clientId = (String) map.get(CLIENT_ID);
parameters.put(CLIENT_ID, clientId);
if (includeGrantType && map.containsKey(GRANT_TYPE)) {
parameters.put(GRANT_TYPE, (String) map.get(GRANT_TYPE));
}
Set<String> resourceIds = new LinkedHashSet<String>(map.containsKey(AUD) ? getAudience(map)
: Collections.<String>emptySet());
Collection<? extends GrantedAuthority> authorities = null;
if (user == null && map.containsKey(AUTHORITIES)) {
@SuppressWarnings("unchecked")
String[] roles = ((Collection<String>) map.get(AUTHORITIES)).toArray(new String[0]);
authorities = AuthorityUtils.createAuthorityList(roles);
}
///增加对client Authorities支持
if (user != null && map.containsKey(CLIENT_AUTHORITIES)) {
String[] clentRoles = ((Collection<String>) map.get(CLIENT_AUTHORITIES)).toArray(new String[0]);
authorities = AuthorityUtils.createAuthorityList(clentRoles);
///增加额外属性
parameters.put("mobile", (String) map.get("mobile"));
parameters.put("tenant_id", (String) map.get("tenant_id"));
parameters.put("department_id", (String) map.get("department_id"));
parameters.put("user_authorities", JSON.toJSONString(map.get("user_authorities")));
parameters.put("payload", JSON.toJSONString(map.get("payload")));
///结束增加额外属性
}
///结束增加对client Authorities支持
OAuth2Request request = new OAuth2Request(parameters, clientId, authorities, true, scope, resourceIds, null, null,
null);
return new OAuth2Authentication(request, user);
}
public Map<String, ?> convertAccessToken(OAuth2AccessToken token, OAuth2Authentication authentication) {
Map<String, Object> response = new HashMap<String, Object>();
OAuth2Request clientToken = authentication.getOAuth2Request();
if (!authentication.isClientOnly()) {
response.putAll(userTokenConverter.convertUserAuthentication(authentication.getUserAuthentication()));
///增加对client Authorities支持
if (authentication.getOAuth2Request().getAuthorities() != null && !authentication.getOAuth2Request().getAuthorities().isEmpty()) {
response.put(CLIENT_AUTHORITIES,
AuthorityUtils.authorityListToSet(authentication.getOAuth2Request().getAuthorities()));
}
///结束增加对client Authorities支持
} else {
if (clientToken.getAuthorities() != null && !clientToken.getAuthorities().isEmpty()) {
response.put(UserAuthenticationConverter.AUTHORITIES,
AuthorityUtils.authorityListToSet(clientToken.getAuthorities()));
}
}
if (token.getScope() != null) {
response.put(SCOPE, token.getScope());
}
if (token.getAdditionalInformation().containsKey(JTI)) {
response.put(JTI, token.getAdditionalInformation().get(JTI));
}
if (token.getExpiration() != null) {
response.put(EXP, token.getExpiration().getTime() / 1000);
}
if (includeGrantType && authentication.getOAuth2Request().getGrantType() != null) {
response.put(GRANT_TYPE, authentication.getOAuth2Request().getGrantType());
}
response.putAll(token.getAdditionalInformation());
response.put(CLIENT_ID, clientToken.getClientId());
if (clientToken.getResourceIds() != null && !clientToken.getResourceIds().isEmpty()) {
response.put(AUD, clientToken.getResourceIds());
}
return response;
}
public Map<String, ?> convertAccessToken(OAuth2AccessToken token, OAuth2Authentication authentication) {
Map<String, Object> response = new HashMap<String, Object>();
OAuth2Request clientToken = authentication.getOAuth2Request();
if (!authentication.isClientOnly()) {
response.putAll(userTokenConverter.convertUserAuthentication(authentication.getUserAuthentication()));
///增加对client Authorities支持
if (authentication.getOAuth2Request().getAuthorities() != null && !authentication.getOAuth2Request().getAuthorities().isEmpty()) {
response.put(CLIENT_AUTHORITIES,
AuthorityUtils.authorityListToSet(authentication.getOAuth2Request().getAuthorities()));
}
///结束增加对client Authorities支持
} else {
if (clientToken.getAuthorities() != null && !clientToken.getAuthorities().isEmpty()) {
response.put(UserAuthenticationConverter.AUTHORITIES,
AuthorityUtils.authorityListToSet(clientToken.getAuthorities()));
}
}
if (token.getScope() != null) {
response.put(SCOPE, token.getScope());
}
if (token.getAdditionalInformation().containsKey(JTI)) {
response.put(JTI, token.getAdditionalInformation().get(JTI));
}
if (token.getExpiration() != null) {
response.put(EXP, token.getExpiration().getTime() / 1000);
}
if (includeGrantType && authentication.getOAuth2Request().getGrantType() != null) {
response.put(GRANT_TYPE, authentication.getOAuth2Request().getGrantType());
}
response.putAll(token.getAdditionalInformation());
response.put(CLIENT_ID, clientToken.getClientId());
if (clientToken.getResourceIds() != null && !clientToken.getResourceIds().isEmpty()) {
response.put(AUD, clientToken.getResourceIds());
}
return response;
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-" + e.getMessage());
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-" + e.getMessage());
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-{}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-{}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public OAuth2AccessToken extractAccessToken(String value, Map<String, ?> map) {
DefaultOAuth2AccessToken token = new DefaultOAuth2AccessToken(value);
Map<String, Object> info = new HashMap<String, Object>(map);
info.remove(EXP);
info.remove(AUD);
info.remove(CLIENT_ID);
info.remove(SCOPE);
if (map.containsKey(EXP)) {
token.setExpiration(new Date((Long) map.get(EXP) * 1000L));
}
if (map.containsKey(JTI)) {
info.put(JTI, map.get(JTI));
}
token.setScope(extractScope(map));
token.setAdditionalInformation(info);
return token;
}
public OAuth2AccessToken extractAccessToken(String value, Map<String, ?> map) {
DefaultOAuth2AccessToken token = new DefaultOAuth2AccessToken(value);
Map<String, Object> info = new HashMap<String, Object>(map);
info.remove(EXP);
info.remove(AUD);
info.remove(CLIENT_ID);
info.remove(SCOPE);
if (map.containsKey(EXP)) {
token.setExpiration(new Date((Long) map.get(EXP) * 1000L));
}
if (map.containsKey(JTI)) {
info.put(JTI, map.get(JTI));
}
token.setScope(extractScope(map));
token.setAdditionalInformation(info);
return token;
}
private Set<String> extractScope(Map<String, ?> map) {
Set<String> scope = Collections.emptySet();
if (map.containsKey(SCOPE)) {
Object scopeObj = map.get(SCOPE);
if (String.class.isInstance(scopeObj)) {
scope = new LinkedHashSet<String>(Arrays.asList(String.class.cast(scopeObj).split(" ")));
} else if (Collection.class.isAssignableFrom(scopeObj.getClass())) {
@SuppressWarnings("unchecked")
Collection<String> scopeColl = (Collection<String>) scopeObj;
// Preserve ordering
scope = new LinkedHashSet<String>(scopeColl);
}
}
return scope;
}
private Set<String> extractScope(Map<String, ?> map) {
Set<String> scope = Collections.emptySet();
if (map.containsKey(SCOPE)) {
Object scopeObj = map.get(SCOPE);
if (String.class.isInstance(scopeObj)) {
scope = new LinkedHashSet<String>(Arrays.asList(String.class.cast(scopeObj).split(" ")));
} else if (Collection.class.isAssignableFrom(scopeObj.getClass())) {
@SuppressWarnings("unchecked")
Collection<String> scopeColl = (Collection<String>) scopeObj;
scope = new LinkedHashSet<String>(scopeColl); // Preserve ordering
}
}
return scope;
}
public MappingJackson2HttpMessageConverter jackson2HttpMessageConverter() {
MappingJackson2HttpMessageConverter converter = new MappingJackson2HttpMessageConverter();
ObjectMapper mapper = new ObjectMapper();
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
mapper.setDateFormat(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"));
SimpleModule simpleModule = new SimpleModule();
simpleModule.addSerializer(Long.class, ToStringSerializer.instance);
simpleModule.addSerializer(Long.TYPE, ToStringSerializer.instance);
mapper.registerModule(simpleModule);
converter.setObjectMapper(mapper);
return converter;
}
public MappingJackson2HttpMessageConverter jackson2HttpMessageConverter() {
MappingJackson2HttpMessageConverter converter = new MappingJackson2HttpMessageConverter();
ObjectMapper mapper = new ObjectMapper();
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
mapper.setDateFormat(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"));
SimpleModule simpleModule = new SimpleModule();
simpleModule.addSerializer(Long.class, ToStringSerializer.instance);
simpleModule.addSerializer(Long.TYPE, ToStringSerializer.instance);
mapper.registerModule(simpleModule);
converter.setObjectMapper(mapper);
return converter;
}
public MappingJackson2HttpMessageConverter jackson2HttpMessageConverter() {
MappingJackson2HttpMessageConverter converter = new MappingJackson2HttpMessageConverter();
ObjectMapper mapper = new ObjectMapper();
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
mapper.setDateFormat(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"));
SimpleModule simpleModule = new SimpleModule();
simpleModule.addSerializer(Long.class, ToStringSerializer.instance);
simpleModule.addSerializer(Long.TYPE, ToStringSerializer.instance);
mapper.registerModule(simpleModule);
converter.setObjectMapper(mapper);
return converter;
}
public MappingJackson2HttpMessageConverter jackson2HttpMessageConverter() {
MappingJackson2HttpMessageConverter converter = new MappingJackson2HttpMessageConverter();
ObjectMapper mapper = new ObjectMapper();
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
mapper.setDateFormat(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"));
SimpleModule simpleModule = new SimpleModule();
simpleModule.addSerializer(Long.class, ToStringSerializer.instance);
simpleModule.addSerializer(Long.TYPE, ToStringSerializer.instance);
mapper.registerModule(simpleModule);
converter.setObjectMapper(mapper);
return converter;
}
public MappingJackson2HttpMessageConverter jackson2HttpMessageConverter() {
MappingJackson2HttpMessageConverter converter = new MappingJackson2HttpMessageConverter();
ObjectMapper mapper = new ObjectMapper();
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
mapper.setDateFormat(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"));
SimpleModule simpleModule = new SimpleModule();
simpleModule.addSerializer(Long.class, ToStringSerializer.instance);
simpleModule.addSerializer(Long.TYPE, ToStringSerializer.instance);
mapper.registerModule(simpleModule);
converter.setObjectMapper(mapper);
return converter;
}
public MappingJackson2HttpMessageConverter jackson2HttpMessageConverter() {
MappingJackson2HttpMessageConverter converter = new MappingJackson2HttpMessageConverter();
ObjectMapper mapper = new ObjectMapper();
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
mapper.setDateFormat(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"));
SimpleModule simpleModule = new SimpleModule();
simpleModule.addSerializer(Long.class, ToStringSerializer.instance);
simpleModule.addSerializer(Long.TYPE, ToStringSerializer.instance);
mapper.registerModule(simpleModule);
converter.setObjectMapper(mapper);
return converter;
}
public static LoginUser getUser() {
ServletRequestAttributes servletRequestAttributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
LoginUser loginUser = new LoginUser();
if (servletRequestAttributes != null) {
HttpServletRequest request = servletRequestAttributes.getRequest();
Map jwt = JSONObject.parseObject(EncryptUtil.decodeBase64(request.getHeader("jsonToken")), Map.class);
if (jwt.get("mobile").toString() != null && !"".equals(jwt.get("mobile").toString())) {
loginUser.setMobile(jwt.get("mobile").toString());
}
if (jwt.get("client_id").toString() != null && !"".equals(jwt.get("client_id").toString())) {
loginUser.setClientId(jwt.get("client_id").toString());
}
}
return loginUser;
}
public static LoginUser getUser() {
ServletRequestAttributes servletRequestAttributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
LoginUser loginUser = new LoginUser();
if (servletRequestAttributes != null) {
HttpServletRequest request = servletRequestAttributes.getRequest();
Map jwt = JSONObject.parseObject(EncryptUtil.decodeBase64(request.getHeader("jsonToken")), Map.class);
if (jwt.get("mobile").toString() != null && !"".equals(jwt.get("mobile").toString())) {
loginUser.setMobile(jwt.get("mobile").toString());
}
if (jwt.get("client_id").toString() != null && !"".equals(jwt.get("client_id").toString())) {
loginUser.setClientId(jwt.get("client_id").toString());
}
}
return loginUser;
}
public boolean preHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o) {
String jsonToken = httpServletRequest.getParameter("jsonToken");
if (StringUtils.isNotBlank(jsonToken)) {
LoginUser loginUser = JSON.parseObject(EncryptUtil.decodeUTF8StringBase64(jsonToken), new TypeReference<LoginUser>() {
});
httpServletRequest.setAttribute("jsonToken", loginUser);
}
return true;
}
public boolean preHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o) {
String jsonToken = httpServletRequest.getParameter("jsonToken");
if (StringUtils.isNotBlank(jsonToken)) {
LoginUser loginUser = JSON.parseObject(EncryptUtil.decodeUTF8StringBase64(jsonToken), new TypeReference<LoginUser>() {
});
httpServletRequest.setAttribute("jsonToken", loginUser);
}
return true;
}
public boolean preHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o) {
String jsonToken = httpServletRequest.getParameter("jsonToken");
if (StringUtils.isNotBlank(jsonToken)) {
LoginUser loginUser = JSON.parseObject(EncryptUtil.decodeUTF8StringBase64(jsonToken), new TypeReference<LoginUser>() {
});
httpServletRequest.setAttribute("jsonToken", loginUser);
}
return true;
}
public boolean preHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o) {
String jsonToken = httpServletRequest.getParameter("jsonToken");
if (StringUtils.isNotBlank(jsonToken)) {
LoginUser loginUser = JSON.parseObject(EncryptUtil.decodeUTF8StringBase64(jsonToken), new TypeReference<LoginUser>() {
});
httpServletRequest.setAttribute("jsonToken", loginUser);
}
return true;
}
public boolean preHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o) {
String jsonToken = httpServletRequest.getParameter("jsonToken");
if (StringUtils.isNotBlank(jsonToken)) {
LoginUser loginUser = JSON.parseObject(EncryptUtil.decodeUTF8StringBase64(jsonToken), new TypeReference<LoginUser>() {
});
httpServletRequest.setAttribute("jsonToken", loginUser);
}
return true;
}
public boolean preHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o) {
String jsonToken = httpServletRequest.getParameter("jsonToken");
if (StringUtils.isNotBlank(jsonToken)) {
LoginUser loginUser = JSON.parseObject(EncryptUtil.decodeUTF8StringBase64(jsonToken), new TypeReference<LoginUser>() {
});
httpServletRequest.setAttribute("jsonToken", loginUser);
}
return true;
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-{}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
LOGGER.error("[系统异常]-{}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
LOGGER.error("[系统异常]-{}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-{}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
private List<RepaymentPlanDTO> convertEntityList2DtoList(List<RepaymentPlan> repaymentPlanList) {
if (repaymentPlanList == null) {
return null;
}
List<RepaymentPlanDTO> repaymentPlanDTOList = new ArrayList<>();
repaymentPlanList.forEach(repaymentPlan -> {
RepaymentPlanDTO repaymentPlanDTO = new RepaymentPlanDTO();
BeanUtils.copyProperties(repaymentPlan, repaymentPlanDTO);
repaymentPlanDTOList.add(repaymentPlanDTO);
});
return repaymentPlanDTOList;
}
private List<ProjectDTO> convertProjectEntityListToDTOList(List<Project> projectList) {
if (projectList == null) {
return null;
}
List<ProjectDTO> dtoList = new ArrayList<>();
projectList.forEach(project -> {
ProjectDTO projectDTO = new ProjectDTO();
BeanUtils.copyProperties(project, projectDTO);
dtoList.add(projectDTO);
});
return dtoList;
}
private List<RepaymentPlanDTO> convertEntityList2DtoList(List<RepaymentPlan> repaymentPlanList) {
if (repaymentPlanList == null) {
return null;
}
List<RepaymentPlanDTO> repaymentPlanDTOList = new ArrayList<>();
repaymentPlanList.forEach(repaymentPlan -> {
RepaymentPlanDTO repaymentPlanDTO = new RepaymentPlanDTO();
BeanUtils.copyProperties(repaymentPlan, repaymentPlanDTO);
repaymentPlanDTOList.add(repaymentPlanDTO);
});
return repaymentPlanDTOList;
}
private List<TenderDTO> convertTenderEntityListToDTOList(List<Tender> records) {
if (records == null) {
return null;
}
List<TenderDTO> dtoList = new ArrayList<>();
records.forEach(tender -> {
TenderDTO tenderDTO = new TenderDTO();
BeanUtils.copyProperties(tender, tenderDTO);
dtoList.add(tenderDTO);
});
return dtoList;
}
public static String postGeneralUrl(String generalUrl, String contentType, String params, String encoding)
throws Exception {
URL url = new URL(generalUrl);
// 打开和URL之间的连接
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod("POST");
// 设置通用的请求属性
connection.setRequestProperty("Content-Type", contentType);
connection.setRequestProperty("Connection", "Keep-Alive");
connection.setUseCaches(false);
connection.setDoOutput(true);
connection.setDoInput(true);
connection.setConnectTimeout(20000);
connection.setReadTimeout(20000);
// 得到请求的输出流对象
DataOutputStream out = new DataOutputStream(connection.getOutputStream());
out.write(params.getBytes(encoding));
out.flush();
out.close();
// 建立实际的连接
connection.connect();
// 获取所有响应头字段
Map<String, List<String>> headers = connection.getHeaderFields();
// 遍历所有的响应头字段
/*for (String key : headers.keySet()) {
System.err.println(key + "--->" + headers.get(key));
}*/
// 定义 BufferedReader输入流来读取URL的响应
BufferedReader in = null;
in = new BufferedReader(
new InputStreamReader(connection.getInputStream(), encoding));
String result = "";
String getLine;
while ((getLine = in.readLine()) != null) {
result += getLine;
}
in.close();
connection.disconnect();
// System.err.println("result:" + result);
return result;
}
public static String postGeneralUrl(String generalUrl, String contentType, String params, String encoding)
throws Exception {
URL url = new URL(generalUrl);
// 打开和URL之间的连接
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod("POST");
// 设置通用的请求属性
connection.setRequestProperty("Content-Type", contentType);
connection.setRequestProperty("Connection", "Keep-Alive");
connection.setUseCaches(false);
connection.setDoOutput(true);
connection.setDoInput(true);
// 得到请求的输出流对象
DataOutputStream out = new DataOutputStream(connection.getOutputStream());
out.write(params.getBytes(encoding));
out.flush();
out.close();
// 建立实际的连接
connection.connect();
// 定义 BufferedReader输入流来读取URL的响应
BufferedReader in = null;
in = new BufferedReader(
new InputStreamReader(connection.getInputStream(), encoding));
String result = "";
String getLine;
while ((getLine = in.readLine()) != null) {
result += getLine;
}
in.close();
return result;
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-" + e.getMessage());
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof AccessDeniedException) {
return new RestResponse<Nullable>(304, "没有权限访问");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
LOGGER.error("[系统异常]-{0}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-" + e.getMessage());
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof AccessDeniedException) {
return new RestResponse<Nullable>(304, "没有权限访问");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
LOGGER.error("[系统异常]-{0}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-{}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof AccessDeniedException) {
return new RestResponse<Nullable>(304, "没有权限访问");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
LOGGER.error("[系统异常]-{0}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-{}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof AccessDeniedException) {
return new RestResponse<Nullable>(304, "没有权限访问");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
LOGGER.error("[系统异常]-{0}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
LOGGER.error("[系统异常]-{}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof AccessDeniedException) {
return new RestResponse<Nullable>(304, "没有权限访问");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
LOGGER.error("[系统异常]-{0}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-{}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-" + e.getMessage());
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-{}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-" + e.getMessage());
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
LOGGER.error("[系统异常]-{}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-" + e.getMessage());
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-{}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-" + e.getMessage());
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-" + e.getMessage());
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-{}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
log.error("[系统异常]-" + e.getMessage());
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
public RestResponse<Nullable> exceptionGet(HttpServletRequest req, HttpServletResponse response, Exception e) {
if (e instanceof BusinessException) {
BusinessException be = (BusinessException) e;
if (CommonErrorCode.CUSTOM.equals(be.getErrorCode())) {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getMessage());
} else {
return new RestResponse<Nullable>(be.getErrorCode().getCode(), be.getErrorCode().getDesc());
}
} else if (e instanceof NoHandlerFoundException) {
return new RestResponse<Nullable>(404, "找不到资源");
} else if (e instanceof HttpRequestMethodNotSupportedException) {
return new RestResponse<Nullable>(405, "method 方法不支持");
} else if (e instanceof HttpMediaTypeNotSupportedException) {
return new RestResponse<Nullable>(415, "不支持媒体类型");
}
LOGGER.error("[系统异常]-{}", e);
return new RestResponse<Nullable>(CommonErrorCode.UNKOWN.getCode(), CommonErrorCode.UNKOWN.getDesc());
}
private List<RepaymentPlanDTO> convertEntityList2DtoList(List<RepaymentPlan> repaymentPlanList) {
if (repaymentPlanList == null) {
return null;
}
List<RepaymentPlanDTO> repaymentPlanDTOList = new ArrayList<>();
repaymentPlanList.forEach(repaymentPlan -> {
RepaymentPlanDTO repaymentPlanDTO = new RepaymentPlanDTO();
BeanUtils.copyProperties(repaymentPlan, repaymentPlanDTO);
repaymentPlanDTOList.add(repaymentPlanDTO);
});
return repaymentPlanDTOList;
}
public List<TenderOverviewDTO> queryTendersByProjectId(Long id) {
List<Tender> tenderList = tenderMapper.selectList(new LambdaQueryWrapper<Tender>().eq(Tender::getProjectId, id));
List<TenderOverviewDTO> tenderOverviewDTOList = new ArrayList<>();
tenderList.forEach(tender -> {
TenderOverviewDTO tenderOverviewDTO = new TenderOverviewDTO();
BeanUtils.copyProperties(tender, tenderOverviewDTO);
tenderOverviewDTO.setConsumerUsername(CommonUtil.hiddenMobile(tenderOverviewDTO.getConsumerUsername()));
tenderOverviewDTOList.add(tenderOverviewDTO);
});
return tenderOverviewDTOList;
}
public RocketMQLocalTransactionState executeLocalTransaction(Message message, Object o) {
// 解析消息
final JSONObject jsonObject = JSON.parseObject(new String((byte[]) message.getPayload()));
RepaymentPlan repaymentPlan = JSONObject.parseObject(jsonObject.getString("repaymentPlan"), RepaymentPlan.class);
RepaymentRequest repaymentRequest = JSONObject.parseObject(jsonObject.getString("repaymentRequest"), RepaymentRequest.class);
// 执行本地事务
final Boolean isCommit = repaymentService.confirmRepayment(repaymentPlan, repaymentRequest);
// 返回结果
if (isCommit) {
return RocketMQLocalTransactionState.COMMIT;
} else {
return RocketMQLocalTransactionState.ROLLBACK;
}
}
public RocketMQLocalTransactionState executeLocalTransaction(Message message, Object o) {
// 解析消息
final JSONObject jsonObject = JSON.parseObject(new String((byte[]) message.getPayload()));
Project project = JSONObject.parseObject(jsonObject.getString("project"), Project.class);
// 执行本地事务
Boolean result = projectService.updateProjectStatusAndStartRepayment(project);
// 返回执行结果
if (result) {
return RocketMQLocalTransactionState.COMMIT;
} else {
return RocketMQLocalTransactionState.ROLLBACK;
}
}
public RocketMQLocalTransactionState checkLocalTransaction(Message message) {
// 解析消息
final JSONObject jsonObject = JSON.parseObject(new String((byte[]) message.getPayload()));
RepaymentPlan repaymentPlan = JSONObject.parseObject(jsonObject.getString("repaymentPlan"), RepaymentPlan.class);
// 事务状态回查
RepaymentPlan newRepaymentPlan = repaymentPlanMapper.selectById(repaymentPlan.getId());
// 返回结果
if (newRepaymentPlan != null && "1".equals(newRepaymentPlan.getRepaymentStatus())) {
return RocketMQLocalTransactionState.COMMIT;
} else {
return RocketMQLocalTransactionState.ROLLBACK;
}
}
public RocketMQLocalTransactionState checkLocalTransaction(Message message) {
// 解析消息
final JSONObject jsonObject = JSON.parseObject(new String((byte[]) message.getPayload()));
Project project = JSONObject.parseObject(jsonObject.getString("project"), Project.class);
// 查询标的状态
Project pro = projectMapper.selectById(project.getId());
// 返回结果
if (pro.getProjectStatus().equals(ProjectCode.REPAYING.getCode())) {
return RocketMQLocalTransactionState.COMMIT;
} else {
return RocketMQLocalTransactionState.ROLLBACK;
}
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.oms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.laboratory.**.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.admin.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.oms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.sms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.oms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.oms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.pms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.ums.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.oms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.oms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.auth.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.admin.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.laboratory.**.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.sms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.laboratory.**.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.pms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.laboratory.**.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.ums.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.laboratory.**.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.auth.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.laboratory.**.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.admin.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.sms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.admin.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.pms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.ums.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.admin.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.admin.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.auth.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.sms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.pms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.ums.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.sms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.sms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.auth.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.ums.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.pms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.auth.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.pms.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.mall.ums.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
public Docket restApi() {
//schema
List<GrantType> grantTypes=new ArrayList<>();
//密码模式
String passwordTokenUrl="http://localhost:9999/youlai-auth/oauth/token";
ResourceOwnerPasswordCredentialsGrant resourceOwnerPasswordCredentialsGrant=new ResourceOwnerPasswordCredentialsGrant(passwordTokenUrl);
grantTypes.add(resourceOwnerPasswordCredentialsGrant);
OAuth oAuth=new OAuthBuilder().name("oauth2")
.grantTypes(grantTypes).build();
//context
//scope方位
List<AuthorizationScope> scopes=new ArrayList<>();
scopes.add(new AuthorizationScope("read","read resources"));
scopes.add(new AuthorizationScope("write","write resources"));
scopes.add(new AuthorizationScope("reads","read all resources"));
scopes.add(new AuthorizationScope("writes","write all resources"));
SecurityReference securityReference=new SecurityReference("oauth2",scopes.toArray(new AuthorizationScope[]{}));
SecurityContext securityContext=new SecurityContext(Lists.newArrayList(securityReference),PathSelectors.ant("/**"));
//schemas
List<SecurityScheme> securitySchemes=Lists.newArrayList(oAuth);
//securyContext
List<SecurityContext> securityContexts=Lists.newArrayList(securityContext);
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.youlai.auth.controller"))
.paths(PathSelectors.any())
.build()
.securityContexts(securityContexts)
.securitySchemes(securitySchemes)
.apiInfo(apiInfo());
}
private static List<MenuVO> recursionTableList(Long parentId, List<SysMenu> menuList) {
List<MenuVO> menuTableList = new ArrayList<>();
Optional.ofNullable(menuList).orElse(new ArrayList<>())
.stream()
.filter(menu -> menu.getParentId().equals(parentId))
.forEach(menu -> {
MenuVO menuVO = new MenuVO();
BeanUtil.copyProperties(menu, menuVO);
List<MenuVO> children = recursionTableList(menu.getId(), menuList);
if (CollectionUtil.isNotEmpty(children)) {
menuVO.setChildren(children);
}
menuTableList.add(menuVO);
});
return menuTableList;
}
private static List<CategoryVO> recursionTree(Long parentId, List<PmsCategory> categoryList) {
List<CategoryVO> list = new ArrayList<>();
Optional.ofNullable(categoryList)
.ifPresent(categories ->
categories.stream().filter(category ->
category.getParentId().equals(parentId))
.forEach(category -> {
CategoryVO categoryVO = new CategoryVO();
BeanUtil.copyProperties(category, categoryVO);
List<CategoryVO> children = recursionTree(category.getId(), categoryList);
categoryVO.setChildren(children);
list.add(categoryVO);
}));
return list;
}
public static List<DeptVO> recursionTableList(Long parentId, List<SysDept> deptList) {
List<DeptVO> deptTableList = new ArrayList<>();
Optional.ofNullable(deptList).orElse(new ArrayList<>())
.stream()
.filter(dept -> dept.getParentId().equals(parentId))
.forEach(dept -> {
DeptVO deptVO = new DeptVO();
BeanUtil.copyProperties(dept, deptVO);
List<DeptVO> children = recursionTableList(dept.getId(), deptList);
deptVO.setChildren(children);
deptTableList.add(deptVO);
});
return deptTableList;
}
private static List<CategoryVO> recursionTree(Long parentId, List<PmsCategory> categoryList) {
List<CategoryVO> list = new ArrayList<>();
Optional.ofNullable(categoryList)
.ifPresent(categories ->
categories.stream().filter(category ->
category.getParentId().equals(parentId))
.forEach(category -> {
CategoryVO categoryVO = new CategoryVO();
BeanUtil.copyProperties(category, categoryVO);
List<CategoryVO> children = recursionTree(category.getId(), categoryList);
categoryVO.setChildren(children);
list.add(categoryVO);
}));
return list;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryId=").append(categoryId);
sb.append(", pid=").append(pid);
sb.append(", level=").append(level);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", realname=").append(realname);
sb.append(", avatar=").append(avatar);
sb.append(", phone=").append(phone);
sb.append(", email=").append(email);
sb.append(", sex=").append(sex);
sb.append(", locked=").append(locked);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryId=").append(categoryId);
sb.append(", pid=").append(pid);
sb.append(", level=").append(level);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", icon=").append(icon);
sb.append(", banner=").append(banner);
sb.append(", theme=").append(theme);
sb.append(", basepath=").append(basepath);
sb.append(", status=").append(status);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryId=").append(categoryId);
sb.append(", pid=").append(pid);
sb.append(", level=").append(level);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", permissionId=").append(permissionId);
sb.append(", systemId=").append(systemId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", type=").append(type);
sb.append(", permissionValue=").append(permissionValue);
sb.append(", uri=").append(uri);
sb.append(", icon=").append(icon);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", commentId=").append(commentId);
sb.append(", pid=").append(pid);
sb.append(", articleId=").append(articleId);
sb.append(", userId=").append(userId);
sb.append(", status=").append(status);
sb.append(", ip=").append(ip);
sb.append(", agent=").append(agent);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCategoryId() == null) ? 0 : getCategoryId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getLevel() == null) ? 0 : getLevel().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPermissionId() == null) ? 0 : getPermissionId().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getPermissionValue() == null) ? 0 : getPermissionValue().hashCode());
result = prime * result + ((getUri() == null) ? 0 : getUri().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCategoryId() == null) ? 0 : getCategoryId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getLevel() == null) ? 0 : getLevel().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getBanner() == null) ? 0 : getBanner().hashCode());
result = prime * result + ((getTheme() == null) ? 0 : getTheme().hashCode());
result = prime * result + ((getBasepath() == null) ? 0 : getBasepath().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCategoryId() == null) ? 0 : getCategoryId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getLevel() == null) ? 0 : getLevel().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getRealname() == null) ? 0 : getRealname().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getLocked() == null) ? 0 : getLocked().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCommentId() == null) ? 0 : getCommentId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getArticleId() == null) ? 0 : getArticleId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getAgent() == null) ? 0 : getAgent().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getCreateIp() == null) ? 0 : getCreateIp().hashCode());
result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
return result;
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public void onMessage(final Message message) {
// 使用线程池多线程处理
threadPoolTaskExecutor.execute(new Runnable() {
@Override
public void run() {
if (message instanceof TextMessage) {
TextMessage textMessage = (TextMessage) message;
try {
LOGGER.info("消费:{}", textMessage.getText());
} catch (Exception e) {
e.printStackTrace();
}
}
}
});
}
public void onMessage(final Message message) {
// 使用线程池多线程处理
threadPoolTaskExecutor.execute(new Runnable() {
@Override
public void run() {
if (message instanceof TextMessage) {
TextMessage textMessage = (TextMessage) message;
try {
LOGGER.info("消费消息:{}", textMessage.getText());
} catch (Exception e){
e.printStackTrace();
}
}
}
});
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode());
result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
result = prime * result + ((getQuestion() == null) ? 0 : getQuestion().hashCode());
result = prime * result + ((getAnswer() == null) ? 0 : getAnswer().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode());
result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
result = prime * result + ((getQuestion() == null) ? 0 : getQuestion().hashCode());
result = prime * result + ((getAnswer() == null) ? 0 : getAnswer().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayOutOrderId() == null) ? 0 : getPayOutOrderId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode());
result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
result = prime * result + ((getQuestion() == null) ? 0 : getQuestion().hashCode());
result = prime * result + ((getAnswer() == null) ? 0 : getAnswer().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode());
result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
result = prime * result + ((getQuestion() == null) ? 0 : getQuestion().hashCode());
result = prime * result + ((getAnswer() == null) ? 0 : getAnswer().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getMenuId() == null) ? 0 : getMenuId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getTarget() == null) ? 0 : getTarget().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode());
result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
result = prime * result + ((getQuestion() == null) ? 0 : getQuestion().hashCode());
result = prime * result + ((getAnswer() == null) ? 0 : getAnswer().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayOutOrderId() == null) ? 0 : getPayOutOrderId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getMenuId() == null) ? 0 : getMenuId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getTarget() == null) ? 0 : getTarget().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayOutOrderId() == null) ? 0 : getPayOutOrderId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getMenuId() == null) ? 0 : getMenuId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getTarget() == null) ? 0 : getTarget().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayOutOrderId() == null) ? 0 : getPayOutOrderId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getMenuId() == null) ? 0 : getMenuId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getTarget() == null) ? 0 : getTarget().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public Object create(CmsTag cmsTag) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTag.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsTag.setCtime(time);
cmsTag.setOrders(time);
int count = cmsTagService.insertSelective(cmsTag);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsPermission upmsPermission) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsPermission.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsPermission.setCtime(time);
upmsPermission.setOrders(time);
int count = upmsPermissionService.insertSelective(upmsPermission);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(UpmsPermission upmsPermission) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsPermission.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsPermission.setCtime(time);
upmsPermission.setOrders(time);
int count = upmsPermissionService.insertSelective(upmsPermission);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsPage cmsPage) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsPage.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsPage.setCtime(time);
cmsPage.setOrders(time);
int count = cmsPageService.insertSelective(cmsPage);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(CmsCategory cmsCategory) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsCategory.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsCategory.setCtime(time);
cmsCategory.setOrders(time);
int count = cmsCategoryService.insertSelective(cmsCategory);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsPermission upmsPermission) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsPermission.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsPermission.setCtime(time);
upmsPermission.setOrders(time);
int count = upmsPermissionService.insertSelective(upmsPermission);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getAppid() == null) ? 0 : getAppid().hashCode());
result = prime * result + ((getAppsecret() == null) ? 0 : getAppsecret().hashCode());
result = prime * result + ((getConfig() == null) ? 0 : getConfig().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getOrganizationId() == null) ? 0 : getOrganizationId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getOrganizationId() == null) ? 0 : getOrganizationId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getMchId() == null) ? 0 : getMchId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getReqkey() == null) ? 0 : getReqkey().hashCode());
result = prime * result + ((getReskey() == null) ? 0 : getReskey().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTopicId() == null) ? 0 : getTopicId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getOrganizationId() == null) ? 0 : getOrganizationId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getAppid() == null) ? 0 : getAppid().hashCode());
result = prime * result + ((getAppsecret() == null) ? 0 : getAppsecret().hashCode());
result = prime * result + ((getConfig() == null) ? 0 : getConfig().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTopicId() == null) ? 0 : getTopicId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTopicId() == null) ? 0 : getTopicId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getMchId() == null) ? 0 : getMchId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getReqkey() == null) ? 0 : getReqkey().hashCode());
result = prime * result + ((getReskey() == null) ? 0 : getReskey().hashCode());
return result;
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public Object update(@PathVariable("id") int id, CmsArticle cmsArticle) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsArticle.getTitle(), new LengthValidator(1, 200, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsArticle.setArticleId(id);
int count = cmsArticleService.updateByPrimaryKeySelective(cmsArticle);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsPermission upmsPermission) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsPermission.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsPermission.setPermissionId(id);
int count = upmsPermissionService.updateByPrimaryKeySelective(upmsPermission);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsCategory cmsCategory) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsCategory.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsCategory.setCategoryId(id);
int count = cmsCategoryService.updateByPrimaryKeySelective(cmsCategory);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsPermission upmsPermission) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsPermission.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsPermission.setPermissionId(id);
int count = upmsPermissionService.updateByPrimaryKeySelective(upmsPermission);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsMenu cmsMenu) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsMenu.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsMenu.setMenuId(id);
int count = cmsMenuService.updateByPrimaryKeySelective(cmsMenu);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsPermission upmsPermission) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsPermission.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsPermission.setPermissionId(id);
int count = upmsPermissionService.updateByPrimaryKeySelective(upmsPermission);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsPermission upmsPermission) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsPermission.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsPermission.setPermissionId(id);
int count = upmsPermissionService.updateByPrimaryKeySelective(upmsPermission);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsPage cmsPage) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsPage.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsPage.setPageId(id);
int count = cmsPageService.updateByPrimaryKeySelective(cmsPage);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsSetting cmsSetting) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsSetting.getSettingKey(), new LengthValidator(1, 20, "键"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsSetting.setSettingId(id);
int count = cmsSettingService.updateByPrimaryKeySelective(cmsSetting);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsPermission upmsPermission) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsPermission.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsPermission.setPermissionId(id);
int count = upmsPermissionService.updateByPrimaryKeySelective(upmsPermission);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsTag cmsTag) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTag.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsTag.setTagId(id);
int count = cmsTagService.updateByPrimaryKeySelective(cmsTag);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsPermission upmsPermission) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsPermission.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsPermission.setPermissionId(id);
int count = upmsPermissionService.updateByPrimaryKeySelective(upmsPermission);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsTopic cmsTopic) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTopic.getTitle(), new LengthValidator(1, 100, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsTopic.setTopicId(id);
int count = cmsTopicService.updateByPrimaryKeySelective(cmsTopic);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsPermission upmsPermission) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsPermission.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsPermission.setPermissionId(id);
int count = upmsPermissionService.updateByPrimaryKeySelective(upmsPermission);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsArticle cmsArticle) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsArticle.getTitle(), new LengthValidator(1, 200, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsArticle.setArticleId(id);
int count = cmsArticleService.updateByPrimaryKeySelective(cmsArticle);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsOrganization.setOrganizationId(id);
int count = upmsOrganizationService.updateByPrimaryKeySelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsCategory cmsCategory) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsCategory.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsCategory.setCategoryId(id);
int count = cmsCategoryService.updateByPrimaryKeySelective(cmsCategory);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsOrganization.setOrganizationId(id);
int count = upmsOrganizationService.updateByPrimaryKeySelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsMenu cmsMenu) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsMenu.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsMenu.setMenuId(id);
int count = cmsMenuService.updateByPrimaryKeySelective(cmsMenu);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsOrganization.setOrganizationId(id);
int count = upmsOrganizationService.updateByPrimaryKeySelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsPage cmsPage) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsPage.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsPage.setPageId(id);
int count = cmsPageService.updateByPrimaryKeySelective(cmsPage);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsOrganization.setOrganizationId(id);
int count = upmsOrganizationService.updateByPrimaryKeySelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsSetting cmsSetting) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsSetting.getSettingKey(), new LengthValidator(1, 20, "键"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsSetting.setSettingId(id);
int count = cmsSettingService.updateByPrimaryKeySelective(cmsSetting);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsOrganization.setOrganizationId(id);
int count = upmsOrganizationService.updateByPrimaryKeySelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsTag cmsTag) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTag.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsTag.setTagId(id);
int count = cmsTagService.updateByPrimaryKeySelective(cmsTag);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsOrganization.setOrganizationId(id);
int count = upmsOrganizationService.updateByPrimaryKeySelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsTopic cmsTopic) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTopic.getTitle(), new LengthValidator(1, 100, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsTopic.setTopicId(id);
int count = cmsTopicService.updateByPrimaryKeySelective(cmsTopic);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsOrganization.setOrganizationId(id);
int count = upmsOrganizationService.updateByPrimaryKeySelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsMenu cmsMenu) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsMenu.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsMenu.setOrders(time);
int count = cmsMenuService.insertSelective(cmsMenu);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsOrganization.setCtime(time);
int count = upmsOrganizationService.insertSelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsTopic cmsTopic) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTopic.getTitle(), new LengthValidator(1, 100, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsTopic.setCtime(time);
int count = cmsTopicService.insertSelective(cmsTopic);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsOrganization.setCtime(time);
int count = upmsOrganizationService.insertSelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", logId=").append(logId);
sb.append(", description=").append(description);
sb.append(", username=").append(username);
sb.append(", startTime=").append(startTime);
sb.append(", spendTime=").append(spendTime);
sb.append(", basePath=").append(basePath);
sb.append(", uri=").append(uri);
sb.append(", url=").append(url);
sb.append(", method=").append(method);
sb.append(", userAgent=").append(userAgent);
sb.append(", ip=").append(ip);
sb.append(", permissions=").append(permissions);
sb.append(", parameter=").append(parameter);
sb.append(", result=").append(result);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleId=").append(articleId);
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", author=").append(author);
sb.append(", fromurl=").append(fromurl);
sb.append(", image=").append(image);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", type=").append(type);
sb.append(", allowcomments=").append(allowcomments);
sb.append(", status=").append(status);
sb.append(", userId=").append(userId);
sb.append(", readnumber=").append(readnumber);
sb.append(", top=").append(top);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", realname=").append(realname);
sb.append(", avatar=").append(avatar);
sb.append(", phone=").append(phone);
sb.append(", email=").append(email);
sb.append(", sex=").append(sex);
sb.append(", locked=").append(locked);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleId=").append(articleId);
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", author=").append(author);
sb.append(", fromurl=").append(fromurl);
sb.append(", image=").append(image);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", type=").append(type);
sb.append(", allowcomments=").append(allowcomments);
sb.append(", status=").append(status);
sb.append(", userId=").append(userId);
sb.append(", readnumber=").append(readnumber);
sb.append(", top=").append(top);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleId=").append(articleId);
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", author=").append(author);
sb.append(", fromurl=").append(fromurl);
sb.append(", image=").append(image);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", type=").append(type);
sb.append(", allowcomments=").append(allowcomments);
sb.append(", status=").append(status);
sb.append(", userId=").append(userId);
sb.append(", readnumber=").append(readnumber);
sb.append(", top=").append(top);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", icon=").append(icon);
sb.append(", banner=").append(banner);
sb.append(", theme=").append(theme);
sb.append(", basepath=").append(basepath);
sb.append(", status=").append(status);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", permissionId=").append(permissionId);
sb.append(", systemId=").append(systemId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", type=").append(type);
sb.append(", permissionValue=").append(permissionValue);
sb.append(", uri=").append(uri);
sb.append(", icon=").append(icon);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleId=").append(articleId);
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", author=").append(author);
sb.append(", fromurl=").append(fromurl);
sb.append(", image=").append(image);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", type=").append(type);
sb.append(", allowcomments=").append(allowcomments);
sb.append(", status=").append(status);
sb.append(", userId=").append(userId);
sb.append(", readnumber=").append(readnumber);
sb.append(", top=").append(top);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryId=").append(categoryId);
sb.append(", pid=").append(pid);
sb.append(", level=").append(level);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", logId=").append(logId);
sb.append(", description=").append(description);
sb.append(", username=").append(username);
sb.append(", startTime=").append(startTime);
sb.append(", spendTime=").append(spendTime);
sb.append(", basePath=").append(basePath);
sb.append(", uri=").append(uri);
sb.append(", url=").append(url);
sb.append(", method=").append(method);
sb.append(", userAgent=").append(userAgent);
sb.append(", ip=").append(ip);
sb.append(", permissions=").append(permissions);
sb.append(", parameter=").append(parameter);
sb.append(", result=").append(result);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", logId=").append(logId);
sb.append(", description=").append(description);
sb.append(", username=").append(username);
sb.append(", startTime=").append(startTime);
sb.append(", spendTime=").append(spendTime);
sb.append(", basePath=").append(basePath);
sb.append(", uri=").append(uri);
sb.append(", url=").append(url);
sb.append(", method=").append(method);
sb.append(", userAgent=").append(userAgent);
sb.append(", ip=").append(ip);
sb.append(", permissions=").append(permissions);
sb.append(", parameter=").append(parameter);
sb.append(", result=").append(result);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", logId=").append(logId);
sb.append(", description=").append(description);
sb.append(", username=").append(username);
sb.append(", startTime=").append(startTime);
sb.append(", spendTime=").append(spendTime);
sb.append(", basePath=").append(basePath);
sb.append(", uri=").append(uri);
sb.append(", url=").append(url);
sb.append(", method=").append(method);
sb.append(", userAgent=").append(userAgent);
sb.append(", ip=").append(ip);
sb.append(", permissions=").append(permissions);
sb.append(", parameter=").append(parameter);
sb.append(", result=").append(result);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", commentId=").append(commentId);
sb.append(", pid=").append(pid);
sb.append(", articleId=").append(articleId);
sb.append(", userId=").append(userId);
sb.append(", status=").append(status);
sb.append(", ip=").append(ip);
sb.append(", agent=").append(agent);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", logId=").append(logId);
sb.append(", description=").append(description);
sb.append(", username=").append(username);
sb.append(", startTime=").append(startTime);
sb.append(", spendTime=").append(spendTime);
sb.append(", basePath=").append(basePath);
sb.append(", uri=").append(uri);
sb.append(", url=").append(url);
sb.append(", method=").append(method);
sb.append(", userAgent=").append(userAgent);
sb.append(", ip=").append(ip);
sb.append(", permissions=").append(permissions);
sb.append(", parameter=").append(parameter);
sb.append(", result=").append(result);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tagId=").append(tagId);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", logId=").append(logId);
sb.append(", description=").append(description);
sb.append(", username=").append(username);
sb.append(", startTime=").append(startTime);
sb.append(", spendTime=").append(spendTime);
sb.append(", basePath=").append(basePath);
sb.append(", uri=").append(uri);
sb.append(", url=").append(url);
sb.append(", method=").append(method);
sb.append(", userAgent=").append(userAgent);
sb.append(", ip=").append(ip);
sb.append(", permissions=").append(permissions);
sb.append(", parameter=").append(parameter);
sb.append(", result=").append(result);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pageId=").append(pageId);
sb.append(", pid=").append(pid);
sb.append(", title=").append(title);
sb.append(", alias=").append(alias);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", realname=").append(realname);
sb.append(", avatar=").append(avatar);
sb.append(", phone=").append(phone);
sb.append(", email=").append(email);
sb.append(", sex=").append(sex);
sb.append(", locked=").append(locked);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", realname=").append(realname);
sb.append(", avatar=").append(avatar);
sb.append(", phone=").append(phone);
sb.append(", email=").append(email);
sb.append(", sex=").append(sex);
sb.append(", locked=").append(locked);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", commentId=").append(commentId);
sb.append(", pid=").append(pid);
sb.append(", articleId=").append(articleId);
sb.append(", userId=").append(userId);
sb.append(", status=").append(status);
sb.append(", ip=").append(ip);
sb.append(", agent=").append(agent);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", realname=").append(realname);
sb.append(", avatar=").append(avatar);
sb.append(", phone=").append(phone);
sb.append(", email=").append(email);
sb.append(", sex=").append(sex);
sb.append(", locked=").append(locked);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tagId=").append(tagId);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pageId=").append(pageId);
sb.append(", pid=").append(pid);
sb.append(", title=").append(title);
sb.append(", alias=").append(alias);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", realname=").append(realname);
sb.append(", avatar=").append(avatar);
sb.append(", phone=").append(phone);
sb.append(", email=").append(email);
sb.append(", sex=").append(sex);
sb.append(", locked=").append(locked);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", realname=").append(realname);
sb.append(", avatar=").append(avatar);
sb.append(", phone=").append(phone);
sb.append(", email=").append(email);
sb.append(", sex=").append(sex);
sb.append(", locked=").append(locked);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", realname=").append(realname);
sb.append(", avatar=").append(avatar);
sb.append(", phone=").append(phone);
sb.append(", email=").append(email);
sb.append(", sex=").append(sex);
sb.append(", locked=").append(locked);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", realname=").append(realname);
sb.append(", avatar=").append(avatar);
sb.append(", phone=").append(phone);
sb.append(", email=").append(email);
sb.append(", sex=").append(sex);
sb.append(", locked=").append(locked);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", realname=").append(realname);
sb.append(", avatar=").append(avatar);
sb.append(", phone=").append(phone);
sb.append(", email=").append(email);
sb.append(", sex=").append(sex);
sb.append(", locked=").append(locked);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", realname=").append(realname);
sb.append(", avatar=").append(avatar);
sb.append(", phone=").append(phone);
sb.append(", email=").append(email);
sb.append(", sex=").append(sex);
sb.append(", locked=").append(locked);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", realname=").append(realname);
sb.append(", avatar=").append(avatar);
sb.append(", phone=").append(phone);
sb.append(", email=").append(email);
sb.append(", sex=").append(sex);
sb.append(", locked=").append(locked);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", realname=").append(realname);
sb.append(", avatar=").append(avatar);
sb.append(", phone=").append(phone);
sb.append(", email=").append(email);
sb.append(", sex=").append(sex);
sb.append(", locked=").append(locked);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", realname=").append(realname);
sb.append(", avatar=").append(avatar);
sb.append(", phone=").append(phone);
sb.append(", email=").append(email);
sb.append(", sex=").append(sex);
sb.append(", locked=").append(locked);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", icon=").append(icon);
sb.append(", banner=").append(banner);
sb.append(", theme=").append(theme);
sb.append(", basepath=").append(basepath);
sb.append(", status=").append(status);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", commentId=").append(commentId);
sb.append(", pid=").append(pid);
sb.append(", articleId=").append(articleId);
sb.append(", userId=").append(userId);
sb.append(", status=").append(status);
sb.append(", ip=").append(ip);
sb.append(", agent=").append(agent);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", icon=").append(icon);
sb.append(", banner=").append(banner);
sb.append(", theme=").append(theme);
sb.append(", basepath=").append(basepath);
sb.append(", status=").append(status);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tagId=").append(tagId);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", icon=").append(icon);
sb.append(", banner=").append(banner);
sb.append(", theme=").append(theme);
sb.append(", basepath=").append(basepath);
sb.append(", status=").append(status);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pageId=").append(pageId);
sb.append(", pid=").append(pid);
sb.append(", title=").append(title);
sb.append(", alias=").append(alias);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", icon=").append(icon);
sb.append(", banner=").append(banner);
sb.append(", theme=").append(theme);
sb.append(", basepath=").append(basepath);
sb.append(", status=").append(status);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", icon=").append(icon);
sb.append(", banner=").append(banner);
sb.append(", theme=").append(theme);
sb.append(", basepath=").append(basepath);
sb.append(", status=").append(status);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", icon=").append(icon);
sb.append(", banner=").append(banner);
sb.append(", theme=").append(theme);
sb.append(", basepath=").append(basepath);
sb.append(", status=").append(status);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", icon=").append(icon);
sb.append(", banner=").append(banner);
sb.append(", theme=").append(theme);
sb.append(", basepath=").append(basepath);
sb.append(", status=").append(status);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", icon=").append(icon);
sb.append(", banner=").append(banner);
sb.append(", theme=").append(theme);
sb.append(", basepath=").append(basepath);
sb.append(", status=").append(status);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", icon=").append(icon);
sb.append(", banner=").append(banner);
sb.append(", theme=").append(theme);
sb.append(", basepath=").append(basepath);
sb.append(", status=").append(status);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", icon=").append(icon);
sb.append(", banner=").append(banner);
sb.append(", theme=").append(theme);
sb.append(", basepath=").append(basepath);
sb.append(", status=").append(status);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", icon=").append(icon);
sb.append(", banner=").append(banner);
sb.append(", theme=").append(theme);
sb.append(", basepath=").append(basepath);
sb.append(", status=").append(status);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", icon=").append(icon);
sb.append(", banner=").append(banner);
sb.append(", theme=").append(theme);
sb.append(", basepath=").append(basepath);
sb.append(", status=").append(status);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryId=").append(categoryId);
sb.append(", pid=").append(pid);
sb.append(", level=").append(level);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryId=").append(categoryId);
sb.append(", pid=").append(pid);
sb.append(", level=").append(level);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryId=").append(categoryId);
sb.append(", pid=").append(pid);
sb.append(", level=").append(level);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryId=").append(categoryId);
sb.append(", pid=").append(pid);
sb.append(", level=").append(level);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryId=").append(categoryId);
sb.append(", pid=").append(pid);
sb.append(", level=").append(level);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryId=").append(categoryId);
sb.append(", pid=").append(pid);
sb.append(", level=").append(level);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryId=").append(categoryId);
sb.append(", pid=").append(pid);
sb.append(", level=").append(level);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryId=").append(categoryId);
sb.append(", pid=").append(pid);
sb.append(", level=").append(level);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", permissionId=").append(permissionId);
sb.append(", systemId=").append(systemId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", type=").append(type);
sb.append(", permissionValue=").append(permissionValue);
sb.append(", uri=").append(uri);
sb.append(", icon=").append(icon);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", commentId=").append(commentId);
sb.append(", pid=").append(pid);
sb.append(", articleId=").append(articleId);
sb.append(", userId=").append(userId);
sb.append(", status=").append(status);
sb.append(", ip=").append(ip);
sb.append(", agent=").append(agent);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", permissionId=").append(permissionId);
sb.append(", systemId=").append(systemId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", type=").append(type);
sb.append(", permissionValue=").append(permissionValue);
sb.append(", uri=").append(uri);
sb.append(", icon=").append(icon);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", permissionId=").append(permissionId);
sb.append(", systemId=").append(systemId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", type=").append(type);
sb.append(", permissionValue=").append(permissionValue);
sb.append(", uri=").append(uri);
sb.append(", icon=").append(icon);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tagId=").append(tagId);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pageId=").append(pageId);
sb.append(", pid=").append(pid);
sb.append(", title=").append(title);
sb.append(", alias=").append(alias);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", permissionId=").append(permissionId);
sb.append(", systemId=").append(systemId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", type=").append(type);
sb.append(", permissionValue=").append(permissionValue);
sb.append(", uri=").append(uri);
sb.append(", icon=").append(icon);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", permissionId=").append(permissionId);
sb.append(", systemId=").append(systemId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", type=").append(type);
sb.append(", permissionValue=").append(permissionValue);
sb.append(", uri=").append(uri);
sb.append(", icon=").append(icon);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", permissionId=").append(permissionId);
sb.append(", systemId=").append(systemId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", type=").append(type);
sb.append(", permissionValue=").append(permissionValue);
sb.append(", uri=").append(uri);
sb.append(", icon=").append(icon);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", permissionId=").append(permissionId);
sb.append(", systemId=").append(systemId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", type=").append(type);
sb.append(", permissionValue=").append(permissionValue);
sb.append(", uri=").append(uri);
sb.append(", icon=").append(icon);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", permissionId=").append(permissionId);
sb.append(", systemId=").append(systemId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", type=").append(type);
sb.append(", permissionValue=").append(permissionValue);
sb.append(", uri=").append(uri);
sb.append(", icon=").append(icon);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", permissionId=").append(permissionId);
sb.append(", systemId=").append(systemId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", type=").append(type);
sb.append(", permissionValue=").append(permissionValue);
sb.append(", uri=").append(uri);
sb.append(", icon=").append(icon);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", permissionId=").append(permissionId);
sb.append(", systemId=").append(systemId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", type=").append(type);
sb.append(", permissionValue=").append(permissionValue);
sb.append(", uri=").append(uri);
sb.append(", icon=").append(icon);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", permissionId=").append(permissionId);
sb.append(", systemId=").append(systemId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", type=").append(type);
sb.append(", permissionValue=").append(permissionValue);
sb.append(", uri=").append(uri);
sb.append(", icon=").append(icon);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", permissionId=").append(permissionId);
sb.append(", systemId=").append(systemId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", type=").append(type);
sb.append(", permissionValue=").append(permissionValue);
sb.append(", uri=").append(uri);
sb.append(", icon=").append(icon);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tagId=").append(tagId);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pageId=").append(pageId);
sb.append(", pid=").append(pid);
sb.append(", title=").append(title);
sb.append(", alias=").append(alias);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", password=").append(password);
sb.append(", salt=").append(salt);
sb.append(", nickname=").append(nickname);
sb.append(", sex=").append(sex);
sb.append(", avatar=").append(avatar);
sb.append(", createTime=").append(createTime);
sb.append(", createIp=").append(createIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", commentId=").append(commentId);
sb.append(", pid=").append(pid);
sb.append(", articleId=").append(articleId);
sb.append(", userId=").append(userId);
sb.append(", status=").append(status);
sb.append(", ip=").append(ip);
sb.append(", agent=").append(agent);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", commentId=").append(commentId);
sb.append(", pid=").append(pid);
sb.append(", articleId=").append(articleId);
sb.append(", userId=").append(userId);
sb.append(", status=").append(status);
sb.append(", ip=").append(ip);
sb.append(", agent=").append(agent);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", commentId=").append(commentId);
sb.append(", pid=").append(pid);
sb.append(", articleId=").append(articleId);
sb.append(", userId=").append(userId);
sb.append(", status=").append(status);
sb.append(", ip=").append(ip);
sb.append(", agent=").append(agent);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", commentId=").append(commentId);
sb.append(", pid=").append(pid);
sb.append(", articleId=").append(articleId);
sb.append(", userId=").append(userId);
sb.append(", status=").append(status);
sb.append(", ip=").append(ip);
sb.append(", agent=").append(agent);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", commentId=").append(commentId);
sb.append(", pid=").append(pid);
sb.append(", articleId=").append(articleId);
sb.append(", userId=").append(userId);
sb.append(", status=").append(status);
sb.append(", ip=").append(ip);
sb.append(", agent=").append(agent);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", commentId=").append(commentId);
sb.append(", pid=").append(pid);
sb.append(", articleId=").append(articleId);
sb.append(", userId=").append(userId);
sb.append(", status=").append(status);
sb.append(", ip=").append(ip);
sb.append(", agent=").append(agent);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", commentId=").append(commentId);
sb.append(", pid=").append(pid);
sb.append(", articleId=").append(articleId);
sb.append(", userId=").append(userId);
sb.append(", status=").append(status);
sb.append(", ip=").append(ip);
sb.append(", agent=").append(agent);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", commentId=").append(commentId);
sb.append(", pid=").append(pid);
sb.append(", articleId=").append(articleId);
sb.append(", userId=").append(userId);
sb.append(", status=").append(status);
sb.append(", ip=").append(ip);
sb.append(", agent=").append(agent);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", commentId=").append(commentId);
sb.append(", pid=").append(pid);
sb.append(", articleId=").append(articleId);
sb.append(", userId=").append(userId);
sb.append(", status=").append(status);
sb.append(", ip=").append(ip);
sb.append(", agent=").append(agent);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", commentId=").append(commentId);
sb.append(", pid=").append(pid);
sb.append(", articleId=").append(articleId);
sb.append(", userId=").append(userId);
sb.append(", status=").append(status);
sb.append(", ip=").append(ip);
sb.append(", agent=").append(agent);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tagId=").append(tagId);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tagId=").append(tagId);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tagId=").append(tagId);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tagId=").append(tagId);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tagId=").append(tagId);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tagId=").append(tagId);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tagId=").append(tagId);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tagId=").append(tagId);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tagId=").append(tagId);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tagId=").append(tagId);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", icon=").append(icon);
sb.append(", type=").append(type);
sb.append(", alias=").append(alias);
sb.append(", systemId=").append(systemId);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pageId=").append(pageId);
sb.append(", pid=").append(pid);
sb.append(", title=").append(title);
sb.append(", alias=").append(alias);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pageId=").append(pageId);
sb.append(", pid=").append(pid);
sb.append(", title=").append(title);
sb.append(", alias=").append(alias);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pageId=").append(pageId);
sb.append(", pid=").append(pid);
sb.append(", title=").append(title);
sb.append(", alias=").append(alias);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pageId=").append(pageId);
sb.append(", pid=").append(pid);
sb.append(", title=").append(title);
sb.append(", alias=").append(alias);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pageId=").append(pageId);
sb.append(", pid=").append(pid);
sb.append(", title=").append(title);
sb.append(", alias=").append(alias);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pageId=").append(pageId);
sb.append(", pid=").append(pid);
sb.append(", title=").append(title);
sb.append(", alias=").append(alias);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pageId=").append(pageId);
sb.append(", pid=").append(pid);
sb.append(", title=").append(title);
sb.append(", alias=").append(alias);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pageId=").append(pageId);
sb.append(", pid=").append(pid);
sb.append(", title=").append(title);
sb.append(", alias=").append(alias);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pageId=").append(pageId);
sb.append(", pid=").append(pid);
sb.append(", title=").append(title);
sb.append(", alias=").append(alias);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pageId=").append(pageId);
sb.append(", pid=").append(pid);
sb.append(", title=").append(title);
sb.append(", alias=").append(alias);
sb.append(", keywords=").append(keywords);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append(", content=").append(content);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderDetailId=").append(payInOrderDetailId);
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", productId=").append(productId);
sb.append(", productName=").append(productName);
sb.append(", productPrice=").append(productPrice);
sb.append(", productCount=").append(productCount);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payInOrderId=").append(payInOrderId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", payMchId=").append(payMchId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", amount=").append(amount);
sb.append(", status=").append(status);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userId=").append(userId);
sb.append(", signature=").append(signature);
sb.append(", realName=").append(realName);
sb.append(", birthday=").append(birthday);
sb.append(", question=").append(question);
sb.append(", answer=").append(answer);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userLogId=").append(userLogId);
sb.append(", userId=").append(userId);
sb.append(", ip=").append(ip);
sb.append(", createTime=").append(createTime);
sb.append(", content=").append(content);
sb.append(", agent=").append(agent);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", menuId=").append(menuId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", url=").append(url);
sb.append(", target=").append(target);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOauthId=").append(userOauthId);
sb.append(", userId=").append(userId);
sb.append(", oauthId=").append(oauthId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", openId=").append(openId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", roleId=").append(roleId);
sb.append(", name=").append(name);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", systemId=").append(systemId);
sb.append(", name=").append(name);
sb.append(", code=").append(code);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append(", orders=").append(orders);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payMchId=").append(payMchId);
sb.append(", mchId=").append(mchId);
sb.append(", name=").append(name);
sb.append(", reqkey=").append(reqkey);
sb.append(", reskey=").append(reskey);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", topicId=").append(topicId);
sb.append(", title=").append(title);
sb.append(", description=").append(description);
sb.append(", url=").append(url);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", organizationId=").append(organizationId);
sb.append(", pid=").append(pid);
sb.append(", name=").append(name);
sb.append(", description=").append(description);
sb.append(", ctime=").append(ctime);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVendorId=").append(payVendorId);
sb.append(", name=").append(name);
sb.append(", appid=").append(appid);
sb.append(", appsecret=").append(appsecret);
sb.append(", config=").append(config);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userPermissionId=").append(userPermissionId);
sb.append(", userId=").append(userId);
sb.append(", permissionId=").append(permissionId);
sb.append(", type=").append(type);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payVestId=").append(payVestId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", prefix=").append(prefix);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payTypeId=").append(payTypeId);
sb.append(", payVendorId=").append(payVendorId);
sb.append(", payMchId=").append(payMchId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payPayId=").append(payPayId);
sb.append(", payTypeId=").append(payTypeId);
sb.append(", param=").append(param);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", rolePermissionId=").append(rolePermissionId);
sb.append(", roleId=").append(roleId);
sb.append(", permissionId=").append(permissionId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userOrganizationId=").append(userOrganizationId);
sb.append(", userId=").append(userId);
sb.append(", organizationId=").append(organizationId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", userRoleId=").append(userRoleId);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId);
sb.append(", payOutOrderId=").append(payOutOrderId);
sb.append(", remark=").append(remark);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleCategoryId=").append(articleCategoryId);
sb.append(", articleId=").append(articleId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", settingId=").append(settingId);
sb.append(", settingKey=").append(settingKey);
sb.append(", settingValue=").append(settingValue);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", articleTagId=").append(articleTagId);
sb.append(", articleId=").append(articleId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", categoryTagId=").append(categoryTagId);
sb.append(", categoryId=").append(categoryId);
sb.append(", tagId=").append(tagId);
sb.append("]");
return sb.toString();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", oauthId=").append(oauthId);
sb.append(", name=").append(name);
sb.append("]");
return sb.toString();
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getLogId() == null) ? 0 : getLogId().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
result = prime * result + ((getStartTime() == null) ? 0 : getStartTime().hashCode());
result = prime * result + ((getSpendTime() == null) ? 0 : getSpendTime().hashCode());
result = prime * result + ((getBasePath() == null) ? 0 : getBasePath().hashCode());
result = prime * result + ((getUri() == null) ? 0 : getUri().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getMethod() == null) ? 0 : getMethod().hashCode());
result = prime * result + ((getUserAgent() == null) ? 0 : getUserAgent().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getPermissions() == null) ? 0 : getPermissions().hashCode());
result = prime * result + ((getParameter() == null) ? 0 : getParameter().hashCode());
result = prime * result + ((getResult() == null) ? 0 : getResult().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getArticleId() == null) ? 0 : getArticleId().hashCode());
result = prime * result + ((getTopicId() == null) ? 0 : getTopicId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getAuthor() == null) ? 0 : getAuthor().hashCode());
result = prime * result + ((getFromurl() == null) ? 0 : getFromurl().hashCode());
result = prime * result + ((getImage() == null) ? 0 : getImage().hashCode());
result = prime * result + ((getKeywords() == null) ? 0 : getKeywords().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAllowcomments() == null) ? 0 : getAllowcomments().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getReadnumber() == null) ? 0 : getReadnumber().hashCode());
result = prime * result + ((getTop() == null) ? 0 : getTop().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCategoryId() == null) ? 0 : getCategoryId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getLevel() == null) ? 0 : getLevel().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getLogId() == null) ? 0 : getLogId().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
result = prime * result + ((getStartTime() == null) ? 0 : getStartTime().hashCode());
result = prime * result + ((getSpendTime() == null) ? 0 : getSpendTime().hashCode());
result = prime * result + ((getBasePath() == null) ? 0 : getBasePath().hashCode());
result = prime * result + ((getUri() == null) ? 0 : getUri().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getMethod() == null) ? 0 : getMethod().hashCode());
result = prime * result + ((getUserAgent() == null) ? 0 : getUserAgent().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getPermissions() == null) ? 0 : getPermissions().hashCode());
result = prime * result + ((getParameter() == null) ? 0 : getParameter().hashCode());
result = prime * result + ((getResult() == null) ? 0 : getResult().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getLogId() == null) ? 0 : getLogId().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
result = prime * result + ((getStartTime() == null) ? 0 : getStartTime().hashCode());
result = prime * result + ((getSpendTime() == null) ? 0 : getSpendTime().hashCode());
result = prime * result + ((getBasePath() == null) ? 0 : getBasePath().hashCode());
result = prime * result + ((getUri() == null) ? 0 : getUri().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getMethod() == null) ? 0 : getMethod().hashCode());
result = prime * result + ((getUserAgent() == null) ? 0 : getUserAgent().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getPermissions() == null) ? 0 : getPermissions().hashCode());
result = prime * result + ((getParameter() == null) ? 0 : getParameter().hashCode());
result = prime * result + ((getResult() == null) ? 0 : getResult().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCommentId() == null) ? 0 : getCommentId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getArticleId() == null) ? 0 : getArticleId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getAgent() == null) ? 0 : getAgent().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getLogId() == null) ? 0 : getLogId().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
result = prime * result + ((getStartTime() == null) ? 0 : getStartTime().hashCode());
result = prime * result + ((getSpendTime() == null) ? 0 : getSpendTime().hashCode());
result = prime * result + ((getBasePath() == null) ? 0 : getBasePath().hashCode());
result = prime * result + ((getUri() == null) ? 0 : getUri().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getMethod() == null) ? 0 : getMethod().hashCode());
result = prime * result + ((getUserAgent() == null) ? 0 : getUserAgent().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getPermissions() == null) ? 0 : getPermissions().hashCode());
result = prime * result + ((getParameter() == null) ? 0 : getParameter().hashCode());
result = prime * result + ((getResult() == null) ? 0 : getResult().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getCreateIp() == null) ? 0 : getCreateIp().hashCode());
result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getLogId() == null) ? 0 : getLogId().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
result = prime * result + ((getStartTime() == null) ? 0 : getStartTime().hashCode());
result = prime * result + ((getSpendTime() == null) ? 0 : getSpendTime().hashCode());
result = prime * result + ((getBasePath() == null) ? 0 : getBasePath().hashCode());
result = prime * result + ((getUri() == null) ? 0 : getUri().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getMethod() == null) ? 0 : getMethod().hashCode());
result = prime * result + ((getUserAgent() == null) ? 0 : getUserAgent().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getPermissions() == null) ? 0 : getPermissions().hashCode());
result = prime * result + ((getParameter() == null) ? 0 : getParameter().hashCode());
result = prime * result + ((getResult() == null) ? 0 : getResult().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPageId() == null) ? 0 : getPageId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getKeywords() == null) ? 0 : getKeywords().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getLogId() == null) ? 0 : getLogId().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
result = prime * result + ((getStartTime() == null) ? 0 : getStartTime().hashCode());
result = prime * result + ((getSpendTime() == null) ? 0 : getSpendTime().hashCode());
result = prime * result + ((getBasePath() == null) ? 0 : getBasePath().hashCode());
result = prime * result + ((getUri() == null) ? 0 : getUri().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getMethod() == null) ? 0 : getMethod().hashCode());
result = prime * result + ((getUserAgent() == null) ? 0 : getUserAgent().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getPermissions() == null) ? 0 : getPermissions().hashCode());
result = prime * result + ((getParameter() == null) ? 0 : getParameter().hashCode());
result = prime * result + ((getResult() == null) ? 0 : getResult().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTagId() == null) ? 0 : getTagId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCommentId() == null) ? 0 : getCommentId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getArticleId() == null) ? 0 : getArticleId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getAgent() == null) ? 0 : getAgent().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPermissionId() == null) ? 0 : getPermissionId().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getPermissionValue() == null) ? 0 : getPermissionValue().hashCode());
result = prime * result + ((getUri() == null) ? 0 : getUri().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPermissionId() == null) ? 0 : getPermissionId().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getPermissionValue() == null) ? 0 : getPermissionValue().hashCode());
result = prime * result + ((getUri() == null) ? 0 : getUri().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getCreateIp() == null) ? 0 : getCreateIp().hashCode());
result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPageId() == null) ? 0 : getPageId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getKeywords() == null) ? 0 : getKeywords().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPermissionId() == null) ? 0 : getPermissionId().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getPermissionValue() == null) ? 0 : getPermissionValue().hashCode());
result = prime * result + ((getUri() == null) ? 0 : getUri().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPermissionId() == null) ? 0 : getPermissionId().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getPermissionValue() == null) ? 0 : getPermissionValue().hashCode());
result = prime * result + ((getUri() == null) ? 0 : getUri().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTagId() == null) ? 0 : getTagId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCommentId() == null) ? 0 : getCommentId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getArticleId() == null) ? 0 : getArticleId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getAgent() == null) ? 0 : getAgent().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getBanner() == null) ? 0 : getBanner().hashCode());
result = prime * result + ((getTheme() == null) ? 0 : getTheme().hashCode());
result = prime * result + ((getBasepath() == null) ? 0 : getBasepath().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getCreateIp() == null) ? 0 : getCreateIp().hashCode());
result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getBanner() == null) ? 0 : getBanner().hashCode());
result = prime * result + ((getTheme() == null) ? 0 : getTheme().hashCode());
result = prime * result + ((getBasepath() == null) ? 0 : getBasepath().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPageId() == null) ? 0 : getPageId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getKeywords() == null) ? 0 : getKeywords().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getBanner() == null) ? 0 : getBanner().hashCode());
result = prime * result + ((getTheme() == null) ? 0 : getTheme().hashCode());
result = prime * result + ((getBasepath() == null) ? 0 : getBasepath().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTagId() == null) ? 0 : getTagId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getBanner() == null) ? 0 : getBanner().hashCode());
result = prime * result + ((getTheme() == null) ? 0 : getTheme().hashCode());
result = prime * result + ((getBasepath() == null) ? 0 : getBasepath().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getRealname() == null) ? 0 : getRealname().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getLocked() == null) ? 0 : getLocked().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCommentId() == null) ? 0 : getCommentId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getArticleId() == null) ? 0 : getArticleId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getAgent() == null) ? 0 : getAgent().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getRealname() == null) ? 0 : getRealname().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getLocked() == null) ? 0 : getLocked().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getCreateIp() == null) ? 0 : getCreateIp().hashCode());
result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPageId() == null) ? 0 : getPageId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getKeywords() == null) ? 0 : getKeywords().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getRealname() == null) ? 0 : getRealname().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getLocked() == null) ? 0 : getLocked().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getRealname() == null) ? 0 : getRealname().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getLocked() == null) ? 0 : getLocked().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTagId() == null) ? 0 : getTagId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCategoryId() == null) ? 0 : getCategoryId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getLevel() == null) ? 0 : getLevel().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getCreateIp() == null) ? 0 : getCreateIp().hashCode());
result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCategoryId() == null) ? 0 : getCategoryId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getLevel() == null) ? 0 : getLevel().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCommentId() == null) ? 0 : getCommentId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getArticleId() == null) ? 0 : getArticleId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getAgent() == null) ? 0 : getAgent().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode());
result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
result = prime * result + ((getQuestion() == null) ? 0 : getQuestion().hashCode());
result = prime * result + ((getAnswer() == null) ? 0 : getAnswer().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCommentId() == null) ? 0 : getCommentId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getArticleId() == null) ? 0 : getArticleId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getAgent() == null) ? 0 : getAgent().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCommentId() == null) ? 0 : getCommentId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getArticleId() == null) ? 0 : getArticleId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getAgent() == null) ? 0 : getAgent().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayOutOrderId() == null) ? 0 : getPayOutOrderId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCommentId() == null) ? 0 : getCommentId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getArticleId() == null) ? 0 : getArticleId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getAgent() == null) ? 0 : getAgent().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getCommentId() == null) ? 0 : getCommentId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getArticleId() == null) ? 0 : getArticleId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getAgent() == null) ? 0 : getAgent().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPageId() == null) ? 0 : getPageId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getKeywords() == null) ? 0 : getKeywords().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getCreateIp() == null) ? 0 : getCreateIp().hashCode());
result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getCreateIp() == null) ? 0 : getCreateIp().hashCode());
result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTagId() == null) ? 0 : getTagId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getCreateIp() == null) ? 0 : getCreateIp().hashCode());
result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getCreateIp() == null) ? 0 : getCreateIp().hashCode());
result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayOutOrderId() == null) ? 0 : getPayOutOrderId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getCreateIp() == null) ? 0 : getCreateIp().hashCode());
result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getCreateIp() == null) ? 0 : getCreateIp().hashCode());
result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getCreateIp() == null) ? 0 : getCreateIp().hashCode());
result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getMenuId() == null) ? 0 : getMenuId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getTarget() == null) ? 0 : getTarget().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getCreateIp() == null) ? 0 : getCreateIp().hashCode());
result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPageId() == null) ? 0 : getPageId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getKeywords() == null) ? 0 : getKeywords().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode());
result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
result = prime * result + ((getQuestion() == null) ? 0 : getQuestion().hashCode());
result = prime * result + ((getAnswer() == null) ? 0 : getAnswer().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPageId() == null) ? 0 : getPageId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getKeywords() == null) ? 0 : getKeywords().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPageId() == null) ? 0 : getPageId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getKeywords() == null) ? 0 : getKeywords().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPageId() == null) ? 0 : getPageId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getKeywords() == null) ? 0 : getKeywords().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayOutOrderId() == null) ? 0 : getPayOutOrderId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPageId() == null) ? 0 : getPageId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getKeywords() == null) ? 0 : getKeywords().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTagId() == null) ? 0 : getTagId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode());
result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
result = prime * result + ((getQuestion() == null) ? 0 : getQuestion().hashCode());
result = prime * result + ((getAnswer() == null) ? 0 : getAnswer().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTagId() == null) ? 0 : getTagId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTagId() == null) ? 0 : getTagId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayOutOrderId() == null) ? 0 : getPayOutOrderId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTagId() == null) ? 0 : getTagId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTagId() == null) ? 0 : getTagId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPermissionId() == null) ? 0 : getPermissionId().hashCode());
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getPermissionValue() == null) ? 0 : getPermissionValue().hashCode());
result = prime * result + ((getUri() == null) ? 0 : getUri().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
result = prime * result + ((getBanner() == null) ? 0 : getBanner().hashCode());
result = prime * result + ((getTheme() == null) ? 0 : getTheme().hashCode());
result = prime * result + ((getBasepath() == null) ? 0 : getBasepath().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
result = prime * result + ((getRealname() == null) ? 0 : getRealname().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getLocked() == null) ? 0 : getLocked().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode());
result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
result = prime * result + ((getQuestion() == null) ? 0 : getQuestion().hashCode());
result = prime * result + ((getAnswer() == null) ? 0 : getAnswer().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserLogId() == null) ? 0 : getUserLogId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getContent()));
result = prime * result + (Arrays.hashCode(getAgent()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserOauthId() == null) ? 0 : getUserOauthId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getOauthId() == null) ? 0 : getOauthId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getOpenId()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getMenuId() == null) ? 0 : getMenuId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getTarget() == null) ? 0 : getTarget().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getOrganizationId() == null) ? 0 : getOrganizationId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTopicId() == null) ? 0 : getTopicId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode());
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode());
result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getOrganizationId() == null) ? 0 : getOrganizationId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode());
result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
result = prime * result + ((getQuestion() == null) ? 0 : getQuestion().hashCode());
result = prime * result + ((getAnswer() == null) ? 0 : getAnswer().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getAppid() == null) ? 0 : getAppid().hashCode());
result = prime * result + ((getAppsecret() == null) ? 0 : getAppsecret().hashCode());
result = prime * result + ((getConfig() == null) ? 0 : getConfig().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode());
result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
result = prime * result + ((getQuestion() == null) ? 0 : getQuestion().hashCode());
result = prime * result + ((getAnswer() == null) ? 0 : getAnswer().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode());
result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
result = prime * result + ((getQuestion() == null) ? 0 : getQuestion().hashCode());
result = prime * result + ((getAnswer() == null) ? 0 : getAnswer().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getMchId() == null) ? 0 : getMchId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getReqkey() == null) ? 0 : getReqkey().hashCode());
result = prime * result + ((getReskey() == null) ? 0 : getReskey().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTopicId() == null) ? 0 : getTopicId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode());
result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
result = prime * result + ((getQuestion() == null) ? 0 : getQuestion().hashCode());
result = prime * result + ((getAnswer() == null) ? 0 : getAnswer().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserLogId() == null) ? 0 : getUserLogId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getContent()));
result = prime * result + (Arrays.hashCode(getAgent()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserLogId() == null) ? 0 : getUserLogId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getContent()));
result = prime * result + (Arrays.hashCode(getAgent()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayOutOrderId() == null) ? 0 : getPayOutOrderId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserLogId() == null) ? 0 : getUserLogId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getContent()));
result = prime * result + (Arrays.hashCode(getAgent()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserLogId() == null) ? 0 : getUserLogId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getContent()));
result = prime * result + (Arrays.hashCode(getAgent()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserLogId() == null) ? 0 : getUserLogId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getContent()));
result = prime * result + (Arrays.hashCode(getAgent()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getMenuId() == null) ? 0 : getMenuId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getTarget() == null) ? 0 : getTarget().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserOauthId() == null) ? 0 : getUserOauthId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getOauthId() == null) ? 0 : getOauthId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getOpenId()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayOutOrderId() == null) ? 0 : getPayOutOrderId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserOauthId() == null) ? 0 : getUserOauthId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getOauthId() == null) ? 0 : getOauthId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getOpenId()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserOauthId() == null) ? 0 : getUserOauthId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getOauthId() == null) ? 0 : getOauthId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getOpenId()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserOauthId() == null) ? 0 : getUserOauthId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getOauthId() == null) ? 0 : getOauthId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getOpenId()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getMenuId() == null) ? 0 : getMenuId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getTarget() == null) ? 0 : getTarget().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserOauthId() == null) ? 0 : getUserOauthId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getOauthId() == null) ? 0 : getOauthId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getOpenId()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getAppid() == null) ? 0 : getAppid().hashCode());
result = prime * result + ((getAppsecret() == null) ? 0 : getAppsecret().hashCode());
result = prime * result + ((getConfig() == null) ? 0 : getConfig().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getMchId() == null) ? 0 : getMchId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getReqkey() == null) ? 0 : getReqkey().hashCode());
result = prime * result + ((getReskey() == null) ? 0 : getReskey().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTopicId() == null) ? 0 : getTopicId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getOrganizationId() == null) ? 0 : getOrganizationId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayOutOrderId() == null) ? 0 : getPayOutOrderId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTopicId() == null) ? 0 : getTopicId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayOutOrderId() == null) ? 0 : getPayOutOrderId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getOrganizationId() == null) ? 0 : getOrganizationId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTopicId() == null) ? 0 : getTopicId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode());
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getOrganizationId() == null) ? 0 : getOrganizationId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getAppid() == null) ? 0 : getAppid().hashCode());
result = prime * result + ((getAppsecret() == null) ? 0 : getAppsecret().hashCode());
result = prime * result + ((getConfig() == null) ? 0 : getConfig().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getMchId() == null) ? 0 : getMchId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getReqkey() == null) ? 0 : getReqkey().hashCode());
result = prime * result + ((getReskey() == null) ? 0 : getReskey().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getOrganizationId() == null) ? 0 : getOrganizationId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getMenuId() == null) ? 0 : getMenuId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getTarget() == null) ? 0 : getTarget().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getAppid() == null) ? 0 : getAppid().hashCode());
result = prime * result + ((getAppsecret() == null) ? 0 : getAppsecret().hashCode());
result = prime * result + ((getConfig() == null) ? 0 : getConfig().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getMenuId() == null) ? 0 : getMenuId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getTarget() == null) ? 0 : getTarget().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getMenuId() == null) ? 0 : getMenuId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getTarget() == null) ? 0 : getTarget().hashCode());
result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getMchId() == null) ? 0 : getMchId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getReqkey() == null) ? 0 : getReqkey().hashCode());
result = prime * result + ((getReskey() == null) ? 0 : getReskey().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getOrganizationId() == null) ? 0 : getOrganizationId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserLogId() == null) ? 0 : getUserLogId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getContent()));
result = prime * result + (Arrays.hashCode(getAgent()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getAppid() == null) ? 0 : getAppid().hashCode());
result = prime * result + ((getAppsecret() == null) ? 0 : getAppsecret().hashCode());
result = prime * result + ((getConfig() == null) ? 0 : getConfig().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserLogId() == null) ? 0 : getUserLogId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getContent()));
result = prime * result + (Arrays.hashCode(getAgent()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserLogId() == null) ? 0 : getUserLogId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getContent()));
result = prime * result + (Arrays.hashCode(getAgent()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getMchId() == null) ? 0 : getMchId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getReqkey() == null) ? 0 : getReqkey().hashCode());
result = prime * result + ((getReskey() == null) ? 0 : getReskey().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTopicId() == null) ? 0 : getTopicId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserLogId() == null) ? 0 : getUserLogId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getContent()));
result = prime * result + (Arrays.hashCode(getAgent()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getOrganizationId() == null) ? 0 : getOrganizationId().hashCode());
result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserOauthId() == null) ? 0 : getUserOauthId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getOauthId() == null) ? 0 : getOauthId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getOpenId()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getAppid() == null) ? 0 : getAppid().hashCode());
result = prime * result + ((getAppsecret() == null) ? 0 : getAppsecret().hashCode());
result = prime * result + ((getConfig() == null) ? 0 : getConfig().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserOauthId() == null) ? 0 : getUserOauthId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getOauthId() == null) ? 0 : getOauthId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getOpenId()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode());
result = prime * result + ((getMchId() == null) ? 0 : getMchId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getReqkey() == null) ? 0 : getReqkey().hashCode());
result = prime * result + ((getReskey() == null) ? 0 : getReskey().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserOauthId() == null) ? 0 : getUserOauthId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getOauthId() == null) ? 0 : getOauthId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getOpenId()));
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTopicId() == null) ? 0 : getTopicId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
return result;
}
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getUserOauthId() == null) ? 0 : getUserOauthId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getOauthId() == null) ? 0 : getOauthId().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + (Arrays.hashCode(getOpenId()));
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsSettingExample cmsSettingExample = new CmsSettingExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsSettingExample.setOrderByClause(StringUtil.humpToLine(sort) + " " + order);
}
List<CmsSetting> rows = cmsSettingService.selectByExampleForOffsetPage(cmsSettingExample, offset, limit);
long total = cmsSettingService.countByExample(cmsSettingExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsLogExample upmsLogExample = new UpmsLogExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsLogExample.setOrderByClause(StringUtil.humpToLine(sort) + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsLogExample.or()
.andDescriptionLike("%" + search + "%");
}
List<UpmsLog> rows = upmsLogService.selectByExampleForOffsetPage(upmsLogExample, offset, limit);
long total = upmsLogService.countByExample(upmsLogExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsCommentExample cmsCommentExample = new CmsCommentExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsCommentExample.setOrderByClause(sort + " " + order);
}
List<CmsComment> rows = cmsCommentService.selectByExampleWithBLOBsForOffsetPage(cmsCommentExample, offset, limit);
long total = cmsCommentService.countByExample(cmsCommentExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsOrganizationExample upmsOrganizationExample = new UpmsOrganizationExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsOrganizationExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsOrganizationExample.or()
.andNameLike("%" + search + "%");
}
List<UpmsOrganization> rows = upmsOrganizationService.selectByExampleForOffsetPage(upmsOrganizationExample, offset, limit);
long total = upmsOrganizationService.countByExample(upmsOrganizationExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsTagExample cmsTagExample = new CmsTagExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsTagExample.setOrderByClause(sort + " " + order);
}
List<CmsTag> rows = cmsTagService.selectByExampleForOffsetPage(cmsTagExample, offset, limit);
long total = cmsTagService.countByExample(cmsTagExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsOrganizationExample upmsOrganizationExample = new UpmsOrganizationExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsOrganizationExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsOrganizationExample.or()
.andNameLike("%" + search + "%");
}
List<UpmsOrganization> rows = upmsOrganizationService.selectByExampleForOffsetPage(upmsOrganizationExample, offset, limit);
long total = upmsOrganizationService.countByExample(upmsOrganizationExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsCategoryExample cmsCategoryExample = new CmsCategoryExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsCategoryExample.setOrderByClause(sort + " " + order);
}
List<CmsCategory> rows = cmsCategoryService.selectByExampleForOffsetPage(cmsCategoryExample, offset, limit);
long total = cmsCategoryService.countByExample(cmsCategoryExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsOrganizationExample upmsOrganizationExample = new UpmsOrganizationExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsOrganizationExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsOrganizationExample.or()
.andNameLike("%" + search + "%");
}
List<UpmsOrganization> rows = upmsOrganizationService.selectByExampleForOffsetPage(upmsOrganizationExample, offset, limit);
long total = upmsOrganizationService.countByExample(upmsOrganizationExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsPageExample cmsPageExample = new CmsPageExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsPageExample.setOrderByClause(sort + " " + order);
}
List<CmsPage> rows = cmsPageService.selectByExampleForOffsetPage(cmsPageExample, offset, limit);
long total = cmsPageService.countByExample(cmsPageExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsOrganizationExample upmsOrganizationExample = new UpmsOrganizationExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsOrganizationExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsOrganizationExample.or()
.andNameLike("%" + search + "%");
}
List<UpmsOrganization> rows = upmsOrganizationService.selectByExampleForOffsetPage(upmsOrganizationExample, offset, limit);
long total = upmsOrganizationService.countByExample(upmsOrganizationExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsMenuExample cmsMenuExample = new CmsMenuExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsMenuExample.setOrderByClause(sort + " " + order);
}
List<CmsMenu> rows = cmsMenuService.selectByExampleForOffsetPage(cmsMenuExample, offset, limit);
long total = cmsMenuService.countByExample(cmsMenuExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsOrganizationExample upmsOrganizationExample = new UpmsOrganizationExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsOrganizationExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsOrganizationExample.or()
.andNameLike("%" + search + "%");
}
List<UpmsOrganization> rows = upmsOrganizationService.selectByExampleForOffsetPage(upmsOrganizationExample, offset, limit);
long total = upmsOrganizationService.countByExample(upmsOrganizationExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsTopicExample cmsTopicExample = new CmsTopicExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsTopicExample.setOrderByClause(sort + " " + order);
}
List<CmsTopic> rows = cmsTopicService.selectByExampleForOffsetPage(cmsTopicExample, offset, limit);
long total = cmsTopicService.countByExample(cmsTopicExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsOrganizationExample upmsOrganizationExample = new UpmsOrganizationExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsOrganizationExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsOrganizationExample.or()
.andNameLike("%" + search + "%");
}
List<UpmsOrganization> rows = upmsOrganizationService.selectByExampleForOffsetPage(upmsOrganizationExample, offset, limit);
long total = upmsOrganizationService.countByExample(upmsOrganizationExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsArticleExample cmsArticleExample = new CmsArticleExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsArticleExample.setOrderByClause(sort + " " + order);
}
List<CmsArticle> rows = cmsArticleService.selectByExampleForOffsetPage(cmsArticleExample, offset, limit);
long total = cmsArticleService.countByExample(cmsArticleExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsOrganizationExample upmsOrganizationExample = new UpmsOrganizationExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsOrganizationExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsOrganizationExample.or()
.andNameLike("%" + search + "%");
}
List<UpmsOrganization> rows = upmsOrganizationService.selectByExampleForOffsetPage(upmsOrganizationExample, offset, limit);
long total = upmsOrganizationService.countByExample(upmsOrganizationExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsRoleExample upmsRoleExample = new UpmsRoleExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsRoleExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsRoleExample.or()
.andTitleLike("%" + search + "%");
}
List<UpmsRole> rows = upmsRoleService.selectByExampleForOffsetPage(upmsRoleExample, offset, limit);
long total = upmsRoleService.countByExample(upmsRoleExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsCommentExample cmsCommentExample = new CmsCommentExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsCommentExample.setOrderByClause(sort + " " + order);
}
List<CmsComment> rows = cmsCommentService.selectByExampleWithBLOBsForOffsetPage(cmsCommentExample, offset, limit);
long total = cmsCommentService.countByExample(cmsCommentExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsCommentExample cmsCommentExample = new CmsCommentExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsCommentExample.setOrderByClause(sort + " " + order);
}
List<CmsComment> rows = cmsCommentService.selectByExampleWithBLOBsForOffsetPage(cmsCommentExample, offset, limit);
long total = cmsCommentService.countByExample(cmsCommentExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsSystemExample upmsSystemExample = new UpmsSystemExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsSystemExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsSystemExample.or()
.andTitleLike("%" + search + "%");
}
List<UpmsSystem> rows = upmsSystemService.selectByExampleForOffsetPage(upmsSystemExample, offset, limit);
long total = upmsSystemService.countByExample(upmsSystemExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsRoleExample upmsRoleExample = new UpmsRoleExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsRoleExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsRoleExample.or()
.andTitleLike("%" + search + "%");
}
List<UpmsRole> rows = upmsRoleService.selectByExampleForOffsetPage(upmsRoleExample, offset, limit);
long total = upmsRoleService.countByExample(upmsRoleExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsTagExample cmsTagExample = new CmsTagExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsTagExample.setOrderByClause(sort + " " + order);
}
List<CmsTag> rows = cmsTagService.selectByExampleForOffsetPage(cmsTagExample, offset, limit);
long total = cmsTagService.countByExample(cmsTagExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsCategoryExample cmsCategoryExample = new CmsCategoryExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsCategoryExample.setOrderByClause(sort + " " + order);
}
List<CmsCategory> rows = cmsCategoryService.selectByExampleForOffsetPage(cmsCategoryExample, offset, limit);
long total = cmsCategoryService.countByExample(cmsCategoryExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsRoleExample upmsRoleExample = new UpmsRoleExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsRoleExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsRoleExample.or()
.andTitleLike("%" + search + "%");
}
List<UpmsRole> rows = upmsRoleService.selectByExampleForOffsetPage(upmsRoleExample, offset, limit);
long total = upmsRoleService.countByExample(upmsRoleExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsRoleExample upmsRoleExample = new UpmsRoleExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsRoleExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsRoleExample.or()
.andTitleLike("%" + search + "%");
}
List<UpmsRole> rows = upmsRoleService.selectByExampleForOffsetPage(upmsRoleExample, offset, limit);
long total = upmsRoleService.countByExample(upmsRoleExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsPageExample cmsPageExample = new CmsPageExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsPageExample.setOrderByClause(sort + " " + order);
}
List<CmsPage> rows = cmsPageService.selectByExampleForOffsetPage(cmsPageExample, offset, limit);
long total = cmsPageService.countByExample(cmsPageExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsRoleExample upmsRoleExample = new UpmsRoleExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsRoleExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsRoleExample.or()
.andTitleLike("%" + search + "%");
}
List<UpmsRole> rows = upmsRoleService.selectByExampleForOffsetPage(upmsRoleExample, offset, limit);
long total = upmsRoleService.countByExample(upmsRoleExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsMenuExample cmsMenuExample = new CmsMenuExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsMenuExample.setOrderByClause(sort + " " + order);
}
List<CmsMenu> rows = cmsMenuService.selectByExampleForOffsetPage(cmsMenuExample, offset, limit);
long total = cmsMenuService.countByExample(cmsMenuExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsTopicExample cmsTopicExample = new CmsTopicExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsTopicExample.setOrderByClause(sort + " " + order);
}
List<CmsTopic> rows = cmsTopicService.selectByExampleForOffsetPage(cmsTopicExample, offset, limit);
long total = cmsTopicService.countByExample(cmsTopicExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsRoleExample upmsRoleExample = new UpmsRoleExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsRoleExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsRoleExample.or()
.andTitleLike("%" + search + "%");
}
List<UpmsRole> rows = upmsRoleService.selectByExampleForOffsetPage(upmsRoleExample, offset, limit);
long total = upmsRoleService.countByExample(upmsRoleExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsRoleExample upmsRoleExample = new UpmsRoleExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsRoleExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsRoleExample.or()
.andTitleLike("%" + search + "%");
}
List<UpmsRole> rows = upmsRoleService.selectByExampleForOffsetPage(upmsRoleExample, offset, limit);
long total = upmsRoleService.countByExample(upmsRoleExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsArticleExample cmsArticleExample = new CmsArticleExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsArticleExample.setOrderByClause(sort + " " + order);
}
List<CmsArticle> rows = cmsArticleService.selectByExampleForOffsetPage(cmsArticleExample, offset, limit);
long total = cmsArticleService.countByExample(cmsArticleExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsTagExample cmsTagExample = new CmsTagExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsTagExample.setOrderByClause(sort + " " + order);
}
List<CmsTag> rows = cmsTagService.selectByExampleForOffsetPage(cmsTagExample, offset, limit);
long total = cmsTagService.countByExample(cmsTagExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsSystemExample upmsSystemExample = new UpmsSystemExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsSystemExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsSystemExample.or()
.andTitleLike("%" + search + "%");
}
List<UpmsSystem> rows = upmsSystemService.selectByExampleForOffsetPage(upmsSystemExample, offset, limit);
long total = upmsSystemService.countByExample(upmsSystemExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsCategoryExample cmsCategoryExample = new CmsCategoryExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsCategoryExample.setOrderByClause(sort + " " + order);
}
List<CmsCategory> rows = cmsCategoryService.selectByExampleForOffsetPage(cmsCategoryExample, offset, limit);
long total = cmsCategoryService.countByExample(cmsCategoryExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsSystemExample upmsSystemExample = new UpmsSystemExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsSystemExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsSystemExample.or()
.andTitleLike("%" + search + "%");
}
List<UpmsSystem> rows = upmsSystemService.selectByExampleForOffsetPage(upmsSystemExample, offset, limit);
long total = upmsSystemService.countByExample(upmsSystemExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsSystemExample upmsSystemExample = new UpmsSystemExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsSystemExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsSystemExample.or()
.andTitleLike("%" + search + "%");
}
List<UpmsSystem> rows = upmsSystemService.selectByExampleForOffsetPage(upmsSystemExample, offset, limit);
long total = upmsSystemService.countByExample(upmsSystemExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsPageExample cmsPageExample = new CmsPageExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsPageExample.setOrderByClause(sort + " " + order);
}
List<CmsPage> rows = cmsPageService.selectByExampleForOffsetPage(cmsPageExample, offset, limit);
long total = cmsPageService.countByExample(cmsPageExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsMenuExample cmsMenuExample = new CmsMenuExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsMenuExample.setOrderByClause(sort + " " + order);
}
List<CmsMenu> rows = cmsMenuService.selectByExampleForOffsetPage(cmsMenuExample, offset, limit);
long total = cmsMenuService.countByExample(cmsMenuExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsSystemExample upmsSystemExample = new UpmsSystemExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsSystemExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsSystemExample.or()
.andTitleLike("%" + search + "%");
}
List<UpmsSystem> rows = upmsSystemService.selectByExampleForOffsetPage(upmsSystemExample, offset, limit);
long total = upmsSystemService.countByExample(upmsSystemExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsTopicExample cmsTopicExample = new CmsTopicExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsTopicExample.setOrderByClause(sort + " " + order);
}
List<CmsTopic> rows = cmsTopicService.selectByExampleForOffsetPage(cmsTopicExample, offset, limit);
long total = cmsTopicService.countByExample(cmsTopicExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsSystemExample upmsSystemExample = new UpmsSystemExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsSystemExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsSystemExample.or()
.andTitleLike("%" + search + "%");
}
List<UpmsSystem> rows = upmsSystemService.selectByExampleForOffsetPage(upmsSystemExample, offset, limit);
long total = upmsSystemService.countByExample(upmsSystemExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
CmsArticleExample cmsArticleExample = new CmsArticleExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
cmsArticleExample.setOrderByClause(sort + " " + order);
}
List<CmsArticle> rows = cmsArticleService.selectByExampleForOffsetPage(cmsArticleExample, offset, limit);
long total = cmsArticleService.countByExample(cmsArticleExample);
Map<String, Object> result = new HashMap<>(2);
result.put("rows", rows);
result.put("total", total);
return result;
}
public Object list(
@RequestParam(required = false, defaultValue = "0", value = "offset") int offset,
@RequestParam(required = false, defaultValue = "10", value = "limit") int limit,
@RequestParam(required = false, defaultValue = "", value = "search") String search,
@RequestParam(required = false, value = "sort") String sort,
@RequestParam(required = false, value = "order") String order) {
UpmsSystemExample upmsSystemExample = new UpmsSystemExample();
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
upmsSystemExample.setOrderByClause(sort + " " + order);
}
if (StringUtils.isNotBlank(search)) {
upmsSystemExample.or()
.andTitleLike("%" + search + "%");
}
List<UpmsSystem> rows = upmsSystemService.selectByExampleForOffsetPage(upmsSystemExample, offset, limit);
long total = upmsSystemService.countByExample(upmsSystemExample);
Map<String, Object> result = new HashMap<>();
result.put("rows", rows);
result.put("total", total);
return result;
}
public void onMessage(final Message message) {
// 使用线程池多线程处理
threadPoolTaskExecutor.execute(new Runnable() {
@Override
public void run() {
TextMessage textMessage = (TextMessage) message;
try {
String text = textMessage.getText();
LOGGER.info("消费:{}", text);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
public void onMessage(final Message message) {
// 使用线程池多线程处理
threadPoolTaskExecutor.execute(new Runnable() {
@Override
public void run() {
if (message instanceof TextMessage) {
TextMessage textMessage = (TextMessage) message;
try {
LOGGER.info("消费:{}", textMessage.getText());
} catch (Exception e) {
e.printStackTrace();
}
}
}
});
}
public void onMessage(final Message message) {
// 使用线程池多线程处理
threadPoolTaskExecutor.execute(new Runnable() {
@Override
public void run() {
TextMessage textMessage = (TextMessage) message;
try {
String text = textMessage.getText();
LOGGER.info("消费:{}", text);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
public void onMessage(final Message message) {
// 使用线程池多线程处理
threadPoolTaskExecutor.execute(new Runnable() {
@Override
public void run() {
if (message instanceof TextMessage) {
TextMessage textMessage = (TextMessage) message;
try {
LOGGER.info("消费:{}", textMessage.getText());
} catch (Exception e) {
e.printStackTrace();
}
}
}
});
}
public Object create(CmsArticle cmsArticle) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsArticle.getTitle(), new LengthValidator(1, 200, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsArticle.setCtime(time);
cmsArticle.setOrders(time);
cmsArticle.setReadnumber(0);
int count = cmsArticleService.insertSelective(cmsArticle);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsSystem upmsSystem) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsSystem.getTitle(), new LengthValidator(1, 20, "标题"))
.on(upmsSystem.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsSystem.setCtime(time);
upmsSystem.setOrders(time);
int count = upmsSystemService.insertSelective(upmsSystem);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(UpmsRole upmsRole) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsRole.getName(), new LengthValidator(1, 20, "名称"))
.on(upmsRole.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsRole.setCtime(time);
upmsRole.setOrders(time);
int count = upmsRoleService.insertSelective(upmsRole);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsArticle cmsArticle) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsArticle.getTitle(), new LengthValidator(1, 200, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsArticle.setCtime(time);
cmsArticle.setOrders(time);
cmsArticle.setReadnumber(0);
int count = cmsArticleService.insertSelective(cmsArticle);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(CmsArticle cmsArticle) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsArticle.getTitle(), new LengthValidator(1, 200, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsArticle.setCtime(time);
cmsArticle.setOrders(time);
cmsArticle.setReadnumber(0);
int count = cmsArticleService.insertSelective(cmsArticle);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsPermission upmsPermission) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsPermission.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsPermission.setCtime(time);
upmsPermission.setOrders(time);
int count = upmsPermissionService.insertSelective(upmsPermission);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsArticle cmsArticle) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsArticle.getTitle(), new LengthValidator(1, 200, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsArticle.setCtime(time);
cmsArticle.setOrders(time);
cmsArticle.setReadnumber(0);
int count = cmsArticleService.insertSelective(cmsArticle);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsOrganization.setCtime(time);
int count = upmsOrganizationService.insertSelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsTag cmsTag) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTag.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsTag.setCtime(time);
cmsTag.setOrders(time);
int count = cmsTagService.insertSelective(cmsTag);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsSystem upmsSystem) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsSystem.getTitle(), new LengthValidator(1, 20, "标题"))
.on(upmsSystem.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsSystem.setCtime(time);
upmsSystem.setOrders(time);
int count = upmsSystemService.insertSelective(upmsSystem);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(UpmsSystem upmsSystem) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsSystem.getTitle(), new LengthValidator(1, 20, "标题"))
.on(upmsSystem.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsSystem.setCtime(time);
upmsSystem.setOrders(time);
int count = upmsSystemService.insertSelective(upmsSystem);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsPage cmsPage) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsPage.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsPage.setCtime(time);
cmsPage.setOrders(time);
int count = cmsPageService.insertSelective(cmsPage);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(CmsCategory cmsCategory) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsCategory.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsCategory.setCtime(time);
cmsCategory.setOrders(time);
int count = cmsCategoryService.insertSelective(cmsCategory);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsSystem upmsSystem) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsSystem.getTitle(), new LengthValidator(1, 20, "标题"))
.on(upmsSystem.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsSystem.setCtime(time);
upmsSystem.setOrders(time);
int count = upmsSystemService.insertSelective(upmsSystem);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsMenu cmsMenu) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsMenu.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsMenu.setOrders(time);
int count = cmsMenuService.insertSelective(cmsMenu);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsSystem upmsSystem) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsSystem.getTitle(), new LengthValidator(1, 20, "标题"))
.on(upmsSystem.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsSystem.setCtime(time);
upmsSystem.setOrders(time);
int count = upmsSystemService.insertSelective(upmsSystem);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsTopic cmsTopic) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTopic.getTitle(), new LengthValidator(1, 100, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsTopic.setCtime(time);
int count = cmsTopicService.insertSelective(cmsTopic);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsSystem upmsSystem) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsSystem.getTitle(), new LengthValidator(1, 20, "标题"))
.on(upmsSystem.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsSystem.setCtime(time);
upmsSystem.setOrders(time);
int count = upmsSystemService.insertSelective(upmsSystem);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(UpmsRole upmsRole) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsRole.getName(), new LengthValidator(1, 20, "名称"))
.on(upmsRole.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsRole.setCtime(time);
upmsRole.setOrders(time);
int count = upmsRoleService.insertSelective(upmsRole);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsTag cmsTag) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTag.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsTag.setCtime(time);
cmsTag.setOrders(time);
int count = cmsTagService.insertSelective(cmsTag);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(CmsTag cmsTag) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTag.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsTag.setCtime(time);
cmsTag.setOrders(time);
int count = cmsTagService.insertSelective(cmsTag);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsOrganization.setCtime(time);
int count = upmsOrganizationService.insertSelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(UpmsRole upmsRole) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsRole.getName(), new LengthValidator(1, 20, "名称"))
.on(upmsRole.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsRole.setCtime(time);
upmsRole.setOrders(time);
int count = upmsRoleService.insertSelective(upmsRole);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsPage cmsPage) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsPage.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsPage.setCtime(time);
cmsPage.setOrders(time);
int count = cmsPageService.insertSelective(cmsPage);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(CmsPage cmsPage) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsPage.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsPage.setCtime(time);
cmsPage.setOrders(time);
int count = cmsPageService.insertSelective(cmsPage);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsOrganization.setCtime(time);
int count = upmsOrganizationService.insertSelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsCategory cmsCategory) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsCategory.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsCategory.setCtime(time);
cmsCategory.setOrders(time);
int count = cmsCategoryService.insertSelective(cmsCategory);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsRole upmsRole) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsRole.getName(), new LengthValidator(1, 20, "名称"))
.on(upmsRole.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsRole.setCtime(time);
upmsRole.setOrders(time);
int count = upmsRoleService.insertSelective(upmsRole);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsCategory cmsCategory) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsCategory.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsCategory.setCtime(time);
cmsCategory.setOrders(time);
int count = cmsCategoryService.insertSelective(cmsCategory);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsOrganization.setCtime(time);
int count = upmsOrganizationService.insertSelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(UpmsRole upmsRole) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsRole.getName(), new LengthValidator(1, 20, "名称"))
.on(upmsRole.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsRole.setCtime(time);
upmsRole.setOrders(time);
int count = upmsRoleService.insertSelective(upmsRole);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsMenu cmsMenu) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsMenu.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsMenu.setOrders(time);
int count = cmsMenuService.insertSelective(cmsMenu);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(CmsTopic cmsTopic) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTopic.getTitle(), new LengthValidator(1, 100, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsTopic.setCtime(time);
int count = cmsTopicService.insertSelective(cmsTopic);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsRole upmsRole) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsRole.getName(), new LengthValidator(1, 20, "名称"))
.on(upmsRole.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsRole.setCtime(time);
upmsRole.setOrders(time);
int count = upmsRoleService.insertSelective(upmsRole);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsMenu cmsMenu) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsMenu.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsMenu.setOrders(time);
int count = cmsMenuService.insertSelective(cmsMenu);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsPermission upmsPermission) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsPermission.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsPermission.setCtime(time);
upmsPermission.setOrders(time);
int count = upmsPermissionService.insertSelective(upmsPermission);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsTopic cmsTopic) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTopic.getTitle(), new LengthValidator(1, 100, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsTopic.setCtime(time);
int count = cmsTopicService.insertSelective(cmsTopic);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsPermission upmsPermission) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsPermission.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsPermission.setCtime(time);
upmsPermission.setOrders(time);
int count = upmsPermissionService.insertSelective(upmsPermission);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsMenu cmsMenu) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsMenu.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsMenu.setOrders(time);
int count = cmsMenuService.insertSelective(cmsMenu);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsPermission upmsPermission) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsPermission.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsPermission.setPermissionId(id);
int count = upmsPermissionService.updateByPrimaryKeySelective(upmsPermission);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsTopic cmsTopic) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTopic.getTitle(), new LengthValidator(1, 100, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsTopic.setCtime(time);
int count = cmsTopicService.insertSelective(cmsTopic);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsPermission upmsPermission) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsPermission.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsPermission.setPermissionId(id);
int count = upmsPermissionService.updateByPrimaryKeySelective(upmsPermission);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsMenu cmsMenu) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsMenu.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsMenu.setOrders(time);
int count = cmsMenuService.insertSelective(cmsMenu);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsOrganization.setOrganizationId(id);
int count = upmsOrganizationService.updateByPrimaryKeySelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object create(CmsTopic cmsTopic) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTopic.getTitle(), new LengthValidator(1, 100, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
cmsTopic.setCtime(time);
int count = cmsTopicService.insertSelective(cmsTopic);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsOrganization.setOrganizationId(id);
int count = upmsOrganizationService.updateByPrimaryKeySelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsArticle cmsArticle) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsArticle.getTitle(), new LengthValidator(1, 200, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsArticle.setArticleId(id);
int count = cmsArticleService.updateByPrimaryKeySelective(cmsArticle);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsOrganization.setCtime(time);
int count = upmsOrganizationService.insertSelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsCategory cmsCategory) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsCategory.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsCategory.setCategoryId(id);
int count = cmsCategoryService.updateByPrimaryKeySelective(cmsCategory);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsOrganization.setCtime(time);
int count = upmsOrganizationService.insertSelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsMenu cmsMenu) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsMenu.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsMenu.setMenuId(id);
int count = cmsMenuService.updateByPrimaryKeySelective(cmsMenu);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsOrganization.setCtime(time);
int count = upmsOrganizationService.insertSelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsPage cmsPage) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsPage.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsPage.setPageId(id);
int count = cmsPageService.updateByPrimaryKeySelective(cmsPage);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsOrganization.setCtime(time);
int count = upmsOrganizationService.insertSelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsSetting cmsSetting) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsSetting.getSettingKey(), new LengthValidator(1, 20, "键"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsSetting.setSettingId(id);
int count = cmsSettingService.updateByPrimaryKeySelective(cmsSetting);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsOrganization.setCtime(time);
int count = upmsOrganizationService.insertSelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsTag cmsTag) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTag.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsTag.setTagId(id);
int count = cmsTagService.updateByPrimaryKeySelective(cmsTag);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsOrganization.setCtime(time);
int count = upmsOrganizationService.insertSelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsTopic cmsTopic) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTopic.getTitle(), new LengthValidator(1, 100, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsTopic.setTopicId(id);
int count = cmsTopicService.updateByPrimaryKeySelective(cmsTopic);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object create(UpmsOrganization upmsOrganization) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsOrganization.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
long time = System.currentTimeMillis();
upmsOrganization.setCtime(time);
int count = upmsOrganizationService.insertSelective(upmsOrganization);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsArticle cmsArticle) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsArticle.getTitle(), new LengthValidator(1, 200, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsArticle.setArticleId(id);
int count = cmsArticleService.updateByPrimaryKeySelective(cmsArticle);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsUser upmsUser) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsUser.getUsername(), new LengthValidator(1, 20, "帐号"))
.on(upmsUser.getRealname(), new NotNullValidator("姓名"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
// 不允许直接改密码
upmsUser.setPassword(null);
upmsUser.setUserId(id);
int count = upmsUserService.updateByPrimaryKeySelective(upmsUser);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsCategory cmsCategory) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsCategory.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsCategory.setCategoryId(id);
int count = cmsCategoryService.updateByPrimaryKeySelective(cmsCategory);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsUser upmsUser) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsUser.getUsername(), new LengthValidator(1, 20, "帐号"))
.on(upmsUser.getRealname(), new NotNullValidator("姓名"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
// 不允许直接改密码
upmsUser.setPassword(null);
upmsUser.setUserId(id);
int count = upmsUserService.updateByPrimaryKeySelective(upmsUser);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsMenu cmsMenu) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsMenu.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsMenu.setMenuId(id);
int count = cmsMenuService.updateByPrimaryKeySelective(cmsMenu);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsUser upmsUser) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsUser.getUsername(), new LengthValidator(1, 20, "帐号"))
.on(upmsUser.getRealname(), new NotNullValidator("姓名"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
// 不允许直接改密码
upmsUser.setPassword(null);
upmsUser.setUserId(id);
int count = upmsUserService.updateByPrimaryKeySelective(upmsUser);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsPage cmsPage) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsPage.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsPage.setPageId(id);
int count = cmsPageService.updateByPrimaryKeySelective(cmsPage);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsUser upmsUser) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsUser.getUsername(), new LengthValidator(1, 20, "帐号"))
.on(upmsUser.getRealname(), new NotNullValidator("姓名"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
// 不允许直接改密码
upmsUser.setPassword(null);
upmsUser.setUserId(id);
int count = upmsUserService.updateByPrimaryKeySelective(upmsUser);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsSetting cmsSetting) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsSetting.getSettingKey(), new LengthValidator(1, 20, "键"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsSetting.setSettingId(id);
int count = cmsSettingService.updateByPrimaryKeySelective(cmsSetting);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsUser upmsUser) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsUser.getUsername(), new LengthValidator(1, 20, "帐号"))
.on(upmsUser.getRealname(), new NotNullValidator("姓名"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
// 不允许直接改密码
upmsUser.setPassword(null);
upmsUser.setUserId(id);
int count = upmsUserService.updateByPrimaryKeySelective(upmsUser);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsTag cmsTag) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTag.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsTag.setTagId(id);
int count = cmsTagService.updateByPrimaryKeySelective(cmsTag);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsUser upmsUser) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsUser.getUsername(), new LengthValidator(1, 20, "帐号"))
.on(upmsUser.getRealname(), new NotNullValidator("姓名"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
// 不允许直接改密码
upmsUser.setPassword(null);
upmsUser.setUserId(id);
int count = upmsUserService.updateByPrimaryKeySelective(upmsUser);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsTopic cmsTopic) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTopic.getTitle(), new LengthValidator(1, 100, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsTopic.setTopicId(id);
int count = cmsTopicService.updateByPrimaryKeySelective(cmsTopic);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsUser upmsUser) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsUser.getUsername(), new LengthValidator(1, 20, "帐号"))
.on(upmsUser.getRealname(), new NotNullValidator("姓名"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
// 不允许直接改密码
upmsUser.setPassword(null);
upmsUser.setUserId(id);
int count = upmsUserService.updateByPrimaryKeySelective(upmsUser);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsArticle cmsArticle) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsArticle.getTitle(), new LengthValidator(1, 200, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsArticle.setArticleId(id);
int count = cmsArticleService.updateByPrimaryKeySelective(cmsArticle);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsSystem upmsSystem) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsSystem.getTitle(), new LengthValidator(1, 20, "标题"))
.on(upmsSystem.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsSystem.setSystemId(id);
int count = upmsSystemService.updateByPrimaryKeySelective(upmsSystem);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsCategory cmsCategory) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsCategory.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsCategory.setCategoryId(id);
int count = cmsCategoryService.updateByPrimaryKeySelective(cmsCategory);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsSystem upmsSystem) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsSystem.getTitle(), new LengthValidator(1, 20, "标题"))
.on(upmsSystem.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsSystem.setSystemId(id);
int count = upmsSystemService.updateByPrimaryKeySelective(upmsSystem);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsMenu cmsMenu) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsMenu.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsMenu.setMenuId(id);
int count = cmsMenuService.updateByPrimaryKeySelective(cmsMenu);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsSystem upmsSystem) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsSystem.getTitle(), new LengthValidator(1, 20, "标题"))
.on(upmsSystem.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsSystem.setSystemId(id);
int count = upmsSystemService.updateByPrimaryKeySelective(upmsSystem);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsSystem upmsSystem) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsSystem.getTitle(), new LengthValidator(1, 20, "标题"))
.on(upmsSystem.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsSystem.setSystemId(id);
int count = upmsSystemService.updateByPrimaryKeySelective(upmsSystem);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsPage cmsPage) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsPage.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsPage.setPageId(id);
int count = cmsPageService.updateByPrimaryKeySelective(cmsPage);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsSetting cmsSetting) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsSetting.getSettingKey(), new LengthValidator(1, 20, "键"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsSetting.setSettingId(id);
int count = cmsSettingService.updateByPrimaryKeySelective(cmsSetting);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsSystem upmsSystem) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsSystem.getTitle(), new LengthValidator(1, 20, "标题"))
.on(upmsSystem.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsSystem.setSystemId(id);
int count = upmsSystemService.updateByPrimaryKeySelective(upmsSystem);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsTag cmsTag) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTag.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsTag.setTagId(id);
int count = cmsTagService.updateByPrimaryKeySelective(cmsTag);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsSystem upmsSystem) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsSystem.getTitle(), new LengthValidator(1, 20, "标题"))
.on(upmsSystem.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsSystem.setSystemId(id);
int count = upmsSystemService.updateByPrimaryKeySelective(upmsSystem);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsTopic cmsTopic) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTopic.getTitle(), new LengthValidator(1, 100, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsTopic.setTopicId(id);
int count = cmsTopicService.updateByPrimaryKeySelective(cmsTopic);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsSystem upmsSystem) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsSystem.getTitle(), new LengthValidator(1, 20, "标题"))
.on(upmsSystem.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsSystem.setSystemId(id);
int count = upmsSystemService.updateByPrimaryKeySelective(upmsSystem);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsRole upmsRole) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsRole.getName(), new LengthValidator(1, 20, "名称"))
.on(upmsRole.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsRole.setRoleId(id);
int count = upmsRoleService.updateByPrimaryKeySelective(upmsRole);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsArticle cmsArticle) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsArticle.getTitle(), new LengthValidator(1, 200, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsArticle.setArticleId(id);
int count = cmsArticleService.updateByPrimaryKeySelective(cmsArticle);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsCategory cmsCategory) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsCategory.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsCategory.setCategoryId(id);
int count = cmsCategoryService.updateByPrimaryKeySelective(cmsCategory);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsRole upmsRole) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsRole.getName(), new LengthValidator(1, 20, "名称"))
.on(upmsRole.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsRole.setRoleId(id);
int count = upmsRoleService.updateByPrimaryKeySelective(upmsRole);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsRole upmsRole) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsRole.getName(), new LengthValidator(1, 20, "名称"))
.on(upmsRole.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsRole.setRoleId(id);
int count = upmsRoleService.updateByPrimaryKeySelective(upmsRole);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsMenu cmsMenu) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsMenu.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsMenu.setMenuId(id);
int count = cmsMenuService.updateByPrimaryKeySelective(cmsMenu);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsRole upmsRole) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsRole.getName(), new LengthValidator(1, 20, "名称"))
.on(upmsRole.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsRole.setRoleId(id);
int count = upmsRoleService.updateByPrimaryKeySelective(upmsRole);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsPage cmsPage) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsPage.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsPage.setPageId(id);
int count = cmsPageService.updateByPrimaryKeySelective(cmsPage);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsSetting cmsSetting) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsSetting.getSettingKey(), new LengthValidator(1, 20, "键"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsSetting.setSettingId(id);
int count = cmsSettingService.updateByPrimaryKeySelective(cmsSetting);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsRole upmsRole) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsRole.getName(), new LengthValidator(1, 20, "名称"))
.on(upmsRole.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsRole.setRoleId(id);
int count = upmsRoleService.updateByPrimaryKeySelective(upmsRole);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsRole upmsRole) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsRole.getName(), new LengthValidator(1, 20, "名称"))
.on(upmsRole.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsRole.setRoleId(id);
int count = upmsRoleService.updateByPrimaryKeySelective(upmsRole);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsTag cmsTag) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTag.getName(), new LengthValidator(1, 20, "名称"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsTag.setTagId(id);
int count = cmsTagService.updateByPrimaryKeySelective(cmsTag);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, CmsTopic cmsTopic) {
ComplexResult result = FluentValidator.checkAll()
.on(cmsTopic.getTitle(), new LengthValidator(1, 100, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
}
cmsTopic.setTopicId(id);
int count = cmsTopicService.updateByPrimaryKeySelective(cmsTopic);
return new CmsResult(CmsResultConstant.SUCCESS, count);
}
public Object update(@PathVariable("id") int id, UpmsRole upmsRole) {
ComplexResult result = FluentValidator.checkAll()
.on(upmsRole.getName(), new LengthValidator(1, 20, "名称"))
.on(upmsRole.getTitle(), new LengthValidator(1, 20, "标题"))
.doValidate()
.result(ResultCollectors.toComplex());
if (!result.isSuccess()) {
return new UpmsResult(UpmsResultConstant.INVALID_LENGTH, result.getErrors());
}
upmsRole.setRoleId(id);
int count = upmsRoleService.updateByPrimaryKeySelective(upmsRole);
return new UpmsResult(UpmsResultConstant.SUCCESS, count);
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticle other = (CmsArticle) that;
return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
&& (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl()))
&& (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber()))
&& (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserRole other = (UpmsUserRole) that;
return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleCategory other = (CmsArticleCategory) that;
return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserPermission other = (UpmsUserPermission) that;
return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUserOrganization other = (UpmsUserOrganization) that;
return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsUser other = (UpmsUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsSystem other = (UpmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner()))
&& (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme()))
&& (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRolePermission other = (UpmsRolePermission) that;
return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId()))
&& (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsRole other = (UpmsRole) that;
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsPermission other = (UpmsPermission) that;
return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsOrganization other = (UpmsOrganization) that;
return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UpmsLog other = (UpmsLog) that;
return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime()))
&& (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath()))
&& (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod()))
&& (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions()))
&& (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter()))
&& (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserOauth other = (UcenterUserOauth) that;
return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getOpenId(), other.getOpenId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserLog other = (UcenterUserLog) that;
return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (Arrays.equals(this.getContent(), other.getContent()))
&& (Arrays.equals(this.getAgent(), other.getAgent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUserDetails other = (UcenterUserDetails) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion()))
&& (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterUser other = (UcenterUser) that;
return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
UcenterOauth other = (UcenterOauth) that;
return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVest other = (PayVest) that;
return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayVendor other = (PayVendor) that;
return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid()))
&& (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret()))
&& (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayType other = (PayType) that;
return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayPay other = (PayPay) that;
return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId()))
&& (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId()))
&& (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrderDetail other = (PayOutOrderDetail) that;
return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId()))
&& (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayOutOrder other = (PayOutOrder) that;
return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayMch other = (PayMch) that;
return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey()))
&& (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSystem other = (CmsSystem) that;
return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsMenu other = (CmsMenu) that;
return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrderDetail other = (PayInOrderDetail) that;
return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId()))
&& (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
&& (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice()))
&& (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTopic other = (CmsTopic) that;
return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsTag other = (CmsTag) that;
return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsSetting other = (CmsSetting) that;
return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId()))
&& (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey()))
&& (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsPage other = (CmsPage) that;
return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsComment other = (CmsComment) that;
return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp()))
&& (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategoryTag other = (CmsCategoryTag) that;
return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId()))
&& (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsCategory other = (CmsCategory) that;
return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
&& (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
&& (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
&& (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()))
&& (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CmsArticleTag other = (CmsArticleTag) that;
return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId()))
&& (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId()))
&& (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId()));
}
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PayInOrder other = (PayInOrder) that;
return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId()))
&& (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId()))
&& (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId()))
&& (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
}
public String update(@PathVariable("id") int id, ModelMap modelMap) {
CmsTopicExample cmsTopicExample = new CmsTopicExample();
cmsTopicExample.setOrderByClause("ctime desc");
List<CmsTopic> cmsTopics = cmsTopicService.selectByExample(cmsTopicExample);
CmsArticle article = cmsArticleService.selectByPrimaryKey(id);
modelMap.put("cmsTopics", cmsTopics);
modelMap.put("article", article);
return "/manage/article/update.jsp";
}
public String role(@PathVariable("id") int id, ModelMap modelMap) {
// 所有角色
List<UpmsRole> upmsRoles = upmsRoleService.selectByExample(new UpmsRoleExample());
// 用户拥有角色
UpmsUserRoleExample upmsUserRoleExample = new UpmsUserRoleExample();
upmsUserRoleExample.createCriteria()
.andUserIdEqualTo(id);
List<UpmsUserRole> upmsUserRoles = upmsUserRoleService.selectByExample(upmsUserRoleExample);
modelMap.put("upmsRoles", upmsRoles);
modelMap.put("upmsUserRoles", upmsUserRoles);
return "/manage/user/role.jsp";
}
public String update(@PathVariable("id") int id, ModelMap modelMap) {
CmsTopicExample cmsTopicExample = new CmsTopicExample();
cmsTopicExample.setOrderByClause("ctime desc");
List<CmsTopic> cmsTopics = cmsTopicService.selectByExample(cmsTopicExample);
CmsArticle article = cmsArticleService.selectByPrimaryKey(id);
modelMap.put("cmsTopics", cmsTopics);
modelMap.put("article", article);
return "/manage/article/update.jsp";
}
public String organization(@PathVariable("id") int id, ModelMap modelMap) {
// 所有组织
List<UpmsOrganization> upmsOrganizations = upmsOrganizationService.selectByExample(new UpmsOrganizationExample());
// 用户拥有组织
UpmsUserOrganizationExample upmsUserOrganizationExample = new UpmsUserOrganizationExample();
upmsUserOrganizationExample.createCriteria()
.andUserIdEqualTo(id);
List<UpmsUserOrganization> upmsUserOrganizations = upmsUserOrganizationService.selectByExample(upmsUserOrganizationExample);
modelMap.put("upmsOrganizations", upmsOrganizations);
modelMap.put("upmsUserOrganizations", upmsUserOrganizations);
return "/manage/user/organization.jsp";
}
public String update(@PathVariable("id") int id, ModelMap modelMap) {
CmsTopicExample cmsTopicExample = new CmsTopicExample();
cmsTopicExample.setOrderByClause("ctime desc");
List<CmsTopic> cmsTopics = cmsTopicService.selectByExample(cmsTopicExample);
CmsArticle article = cmsArticleService.selectByPrimaryKey(id);
modelMap.put("cmsTopics", cmsTopics);
modelMap.put("article", article);
return "/manage/article/update.jsp";
}
public String update(@PathVariable("id") int id, ModelMap modelMap) {
UpmsSystemExample upmsSystemExample = new UpmsSystemExample();
upmsSystemExample.createCriteria()
.andStatusEqualTo((byte) 1);
List<UpmsSystem> upmsSystems = upmsSystemService.selectByExample(upmsSystemExample);
UpmsPermission permission = upmsPermissionService.selectByPrimaryKey(id);
modelMap.put("permission", permission);
modelMap.put("upmsSystems", upmsSystems);
return "/manage/permission/update.jsp";
}